Skip to content

Commit

Permalink
fix nft
Browse files Browse the repository at this point in the history
  • Loading branch information
juanep97 committed Dec 14, 2023
1 parent 0b54c3a commit 8786829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mutis/lib/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def lc_gen_psd_nft(times, values):
randomised signal."""

k = np.arange(-times.size / 2, times.size / 2)
n = k.size
n = 2* (k.size//2)

nft = nfft.nfft_adjoint(
(times - (times.max() + times.min()) / 2) / np.ptp(times), values, n, use_fft=True
Expand Down

0 comments on commit 8786829

Please sign in to comment.