test_window_func

Module: tests.unittests.nodes.preprocessing.test_window_func

Unittests that test window functions nodes

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

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

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

WindowFuncTestCase

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

Bases: unittest.case.TestCase

setUp()[source]
test_zero_window()[source]

Test that the window function [0 0 ... 0 0] raises an InvalidWindowException

test_one_window()[source]

Test that the window function [1 1 ... 1 1] does not change the time series

test_convolving()[source]

Test that convolving one with a window returns the window

test_chopping()[source]

Test that the window function with trailing zeros chops the time series window