We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d5f91 commit 0947daeCopy full SHA for 0947dae
src/fpfind/lib/utils.py
@@ -194,7 +194,7 @@ def generate_fft(
194
if len(arr) == 0:
195
raise ValueError("Array is empty!")
196
bin_arr = np.bincount(np.int32((arr // time_res) % num_bins), minlength=num_bins)
197
- return scipy.fft.rfft(bin_arr) # type: ignore (dispatchable)
+ return scipy.fft.rfft(bin_arr), num_bins # type: ignore (dispatchable)
198
199
200
def get_xcorr(
0 commit comments