test_time_domain_features

Module: tests.unittests.nodes.feature_generation.test_time_domain_features

This module contains unittests which test the time domain Feature Extraction node

Author:Jan Hendrik Metzen (jhm@informatik.uni-bremen.de), Andrei Ignat (Andrei_Cristian.Ignat@dfki.de)
Created:2008/08/26
Revised:2014/05/28

Inheritance diagram for pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features:

Inheritance diagram of pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features

Class Summary

TimeDomainFeaturesTestCase([methodName]) unittest for TimeDomainFeaturesNode
TimeDomainDifferenceFeatureTestCase([methodName])
SimpleDifferentiationFeature([methodName])
LocalStraightLineFeature([methodName]) This test checks the results of a linear fit on a TimeSeries

Classes

TimeDomainFeaturesTestCase

class pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features.TimeDomainFeaturesTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

unittest for TimeDomainFeaturesNode

Class Components Summary

setUp()
test_ordering() Test if values are in the expected ordering afterwards
test_td_features()
setUp()[source]
test_td_features()[source]
test_ordering()[source]

Test if values are in the expected ordering afterwards

First ordering in time and then in channels is expected.

TimeDomainDifferenceFeatureTestCase

class pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features.TimeDomainDifferenceFeatureTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_tdd_feature()[source]

SimpleDifferentiationFeature

class pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features.SimpleDifferentiationFeature(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_sd_feature()[source]

LocalStraightLineFeature

class pySPACE.tests.unittests.nodes.feature_generation.test_time_domain_features.LocalStraightLineFeature(methodName='runTest')[source]

Bases: unittest.case.TestCase

This test checks the results of a linear fit on a TimeSeries

Class Components Summary

setUp()
test_linear_fit()
setUp()[source]
test_linear_fit()[source]