diff --git a/test/rf/spec.py b/test/rf/spec.py index c0c7c6967..4142a3da4 100644 --- a/test/rf/spec.py +++ b/test/rf/spec.py @@ -23,7 +23,7 @@ def spec_est(x, fs, ref=2 ** 15, plot=False): N = len(x) # Apply window - window = signal.kaiser(N, beta=38) + window = signal.windows.kaiser(N, beta=8.6) # x = multiply(x, window) # Use FFT to get the amplitude of the spectrum