Skip to content

Commit

Permalink
Fixing regression bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Dec 27, 2018
1 parent 246fef7 commit f8a7420
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/spectrum/eigenfre.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def __call__(self):
else:
newpsd = psd[0:int((self.NFFT+1)/2)] * 2
# we need to flip the data
self.psd = newpsd
self.psd = self.psd[::-1]
self.psd = newpsd[::-1]
else:
self.psd = centerdc_2_twosided(psd)

Expand Down Expand Up @@ -131,7 +130,7 @@ def __call__(self):
else:
newpsd = psd[0:int((self.NFFT+1)/2)] * 2
# we need to flip the data
self.psd = self.psd[::-1]
self.psd = newpsd[::-1]
else:
self.psd = centerdc_2_twosided(psd)

Expand Down

0 comments on commit f8a7420

Please sign in to comment.