signal.tests.test_spectral

Module Contents

Classes

TestPeriodogram()
TestWelch()
TestCSD()
TestCoherence()
TestSpectrogram()
TestLombscargle()
TestSTFT()
class TestPeriodogram
test_real_onesided_even()
test_real_onesided_odd()
test_real_twosided()
test_real_spectrum()
test_integer_even()
test_integer_odd()
test_integer_twosided()
test_complex()
test_unk_scaling()
test_nd_axis_m1()
test_nd_axis_0()
test_window_external()
test_padded_fft()
test_empty_input()
test_empty_input_other_axis()
test_short_nfft()
test_nfft_is_xshape()
test_real_onesided_even_32()
test_real_onesided_odd_32()
test_real_twosided_32()
test_complex_32()
class TestWelch
test_real_onesided_even()
test_real_onesided_odd()
test_real_twosided()
test_real_spectrum()
test_integer_onesided_even()
test_integer_onesided_odd()
test_integer_twosided()
test_complex()
test_unk_scaling()
test_detrend_linear()
test_no_detrending()
test_detrend_external()
test_detrend_external_nd_m1()
test_detrend_external_nd_0()
test_nd_axis_m1()
test_nd_axis_0()
test_window_external()
test_empty_input()
test_empty_input_other_axis()
test_short_data()
test_window_long_or_nd()
test_nondefault_noverlap()
test_bad_noverlap()
test_nfft_too_short()
test_real_onesided_even_32()
test_real_onesided_odd_32()
test_real_twosided_32()
test_complex_32()
test_padded_freqs()
test_window_correction()
test_axis_rolling()
class TestCSD
test_pad_shorter_x()
test_pad_shorter_y()
test_real_onesided_even()
test_real_onesided_odd()
test_real_twosided()
test_real_spectrum()
test_integer_onesided_even()
test_integer_onesided_odd()
test_integer_twosided()
test_complex()
test_unk_scaling()
test_detrend_linear()
test_no_detrending()
test_detrend_external()
test_detrend_external_nd_m1()
test_detrend_external_nd_0()
test_nd_axis_m1()
test_nd_axis_0()
test_window_external()
test_empty_input()
test_empty_input_other_axis()
test_short_data()
test_window_long_or_nd()
test_nondefault_noverlap()
test_bad_noverlap()
test_nfft_too_short()
test_real_onesided_even_32()
test_real_onesided_odd_32()
test_real_twosided_32()
test_complex_32()
test_padded_freqs()
class TestCoherence
test_identical_input()
test_phase_shifted_input()
class TestSpectrogram
test_average_all_segments()
test_window_external()
test_short_data()
class TestLombscargle
test_frequency()

Test if frequency location of peak corresponds to frequency of generated input signal.

test_amplitude()
test_precenter()
test_normalize()
test_wrong_shape()
test_zero_division()
test_lombscargle_atan_vs_atan2()
class TestSTFT
test_input_validation()
test_check_COLA()
test_average_all_segments()
test_permute_axes()
test_roundtrip_real()
test_roundtrip_float32()
test_roundtrip_complex()
test_roundtrip_boundary_extension()
test_roundtrip_padded_signal()
test_roundtrip_padded_FFT()
test_axis_rolling()