From a10eaebd16cbd829cd8dd72e8d001e6c4f368267 Mon Sep 17 00:00:00 2001 From: SaraPido Date: Thu, 7 Nov 2024 14:31:10 -0500 Subject: [PATCH] fft freq unit test --- tests/unit/transformations/frequency/test_fftfreq.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/transformations/frequency/test_fftfreq.py b/tests/unit/transformations/frequency/test_fftfreq.py index 8d18e23..6881395 100644 --- a/tests/unit/transformations/frequency/test_fftfreq.py +++ b/tests/unit/transformations/frequency/test_fftfreq.py @@ -1,16 +1,16 @@ """Tests for sigpro.transformations.frequency module.""" import numpy as np -from sigpro.transformations.frequency import fft_freq_allband +from sigpro.transformations.frequency import fft_freq -def test_fft_freq_allband(): +def test_fft_freq(): # setup amplitude_values = [1.5, -0.5, 2.0, 0.5, -1.0] sampling_frequency = 2 # in Hz # run - amplitude_result, frequency_result = fft_freq_allband(amplitude_values, sampling_frequency) + amplitude_result, frequency_result = fft_freq(amplitude_values, sampling_frequency) # assert expected_amplitude_values = np.array([1.5, -0.5, 2.0, 0.5, -1.0])