Unit tests for the signal_processing module.
elephant.test.test_signal_processing.
ButterTestCase
(methodName='runTest')[source]¶Bases: unittest.case.TestCase
Methods
elephant.test.test_signal_processing.
HilbertTestCase
(methodName='runTest')[source]¶Bases: unittest.case.TestCase
Methods
test_hilbert_output_shape
()[source]¶Tests if the length of the output is identical to the original signal, and the dimension is dimensionless.
elephant.test.test_signal_processing.
ZscoreTestCase
(methodName='runTest')[source]¶Bases: unittest.case.TestCase
Methods
test_zscore_list_dup
()[source]¶Test zscore on a list of AnalogSignal objects, asking to return a duplicate.
test_zscore_list_inplace
()[source]¶Test zscore on a list of AnalogSignal objects, asking for an inplace operation.
test_zscore_single_dup
()[source]¶Test z-score on a single AnalogSignal, asking to return a duplicate.
test_zscore_single_dup_int
()[source]¶Test if the z-score is correctly calculated even if the input is an AnalogSignal of type int, asking for a duplicate (duplicate should be of type float).
test_zscore_single_inplace
()[source]¶Test z-score on a single AnalogSignal, asking for an inplace operation.
test_zscore_single_inplace_int
()[source]¶Test if the z-score is correctly calculated even if the input is an AnalogSignal of type int, asking for an inplace operation.