From 0b54c3ae8e074072f293dba791bebceb468a792a Mon Sep 17 00:00:00 2001 From: Juan Escudero Pedrosa Date: Thu, 14 Dec 2023 18:13:53 +0100 Subject: [PATCH] try to fix nft --- mutis/lib/signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutis/lib/signal.py b/mutis/lib/signal.py index 0094d23..c604c6b 100644 --- a/mutis/lib/signal.py +++ b/mutis/lib/signal.py @@ -152,7 +152,7 @@ def lc_gen_psd_nft(times, values): compute the power spectral density and to reconstruct the randomised signal.""" - k = np.arange(-times.size // 2, times.size / 2) + k = np.arange(-times.size / 2, times.size / 2) n = k.size nft = nfft.nfft_adjoint(