test_filtering

Module: tests.unittests.nodes.preprocessing.test_filtering

Unittests which test filtering nodes

Author:Jan Hendrik Metzen (jhm@informatik.uni-bremen.de)
Created:2008/08/22

Inheritance diagram for pySPACE.tests.unittests.nodes.preprocessing.test_filtering:

Inheritance diagram of pySPACE.tests.unittests.nodes.preprocessing.test_filtering

Class Summary

SimpleLowPassFilterTestCase([methodName]) Test for SimpleLowPassFilterNode
FFTBandPassFilterTestCase([methodName]) Test for FFTBandPassFilterNode
FIRFilterTestCase([methodName]) Test for the band pass filter node

Function Summary

mfreqz(b[, a])
plot_freqz_response(b[, a])
plot_freqz_response_lin(b[, a])
plot_phase_response(b[, a])
plot_kernel(b[, a])
plot_time_series_response(x, b[, a])
impz(b[, a])
plot_fir_filter(b[, a])

Classes

SimpleLowPassFilterTestCase

class pySPACE.tests.unittests.nodes.preprocessing.test_filtering.SimpleLowPassFilterTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test for SimpleLowPassFilterNode

Class Components Summary

setUp()
test_low_pass_filtering()
test_specgram_band_pass()
test_specgram_low_pass()
setUp()[source]
test_specgram_low_pass()[source]
test_specgram_band_pass()[source]
test_low_pass_filtering()[source]

FFTBandPassFilterTestCase

class pySPACE.tests.unittests.nodes.preprocessing.test_filtering.FFTBandPassFilterTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test for FFTBandPassFilterNode

Class Components Summary

setUp()
test_fft_band__pass_filtering()
setUp()[source]
test_fft_band__pass_filtering()[source]

FIRFilterTestCase

class pySPACE.tests.unittests.nodes.preprocessing.test_filtering.FIRFilterTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test for the band pass filter node

Class Components Summary

setUp()
tearDown()
testTimeShifting()
setUp()[source]
tearDown()[source]
testTimeShifting()[source]

Functions

mfreqz()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.mfreqz(b, a=1)[source]

plot_freqz_response()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_freqz_response(b, a=1)[source]

plot_freqz_response_lin()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_freqz_response_lin(b, a=1)[source]

plot_phase_response()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_phase_response(b, a=1)[source]

plot_kernel()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_kernel(b, a=1)[source]

plot_time_series_response()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_time_series_response(x, b, a=1)[source]

impz()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.impz(b, a=1)[source]

plot_fir_filter()

pySPACE.tests.unittests.nodes.preprocessing.test_filtering.plot_fir_filter(b, a=1)[source]