Skip to content

Commit

Permalink
Merge branch 'develop' into feature/new_camera_bin_file_loader
Browse files Browse the repository at this point in the history
  • Loading branch information
nbonacchi committed Jun 22, 2021
2 parents 2434d51 + e711041 commit e69737d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibllib/dsp/fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def fshift(w, s, axis=-1, ns=None):
np.put(dephas, 1, 1)
dephas = scipy.fft.rfft(dephas, axis=axis)
# fft the data along the axis and the dephas
do_fft = np.invert(np.iscomplexobj(w.dtype))
do_fft = np.invert(np.iscomplexobj(w))

if do_fft:
W = scipy.fft.rfft(w, axis=axis)
Expand Down

0 comments on commit e69737d

Please sign in to comment.