exchange_data

Module: missions.nodes.debug.exchange_data

Exchange the data against some self created data

Inheritance diagram for pySPACE.missions.nodes.debug.exchange_data:

Inheritance diagram of pySPACE.missions.nodes.debug.exchange_data

ExchangeDataNode

class pySPACE.missions.nodes.debug.exchange_data.ExchangeDataNode(generator_expression='Adder([One(),Multiplier([Constant(200),Channel(data.shape[1],data.shape[0])]),TimePoint(data.shape[1],data.shape[0])])', **kwargs)[source]

Bases: pySPACE.missions.nodes.base_node.BaseNode

Exchange the data against some self created data

This can be used for testing/debugging purposes, if the markers etc should be retained, but the data should be replaced by data with known properties.

Parameters

generator_expression:
 

Specify generator expression. Uses the data generators in test_data_generation.

(optional, default: “Adder([One(),Multiplier([Constant(200),Channel(data.shape[1],data.shape[0])]),TimePoint(data.shape[1],data.shape[0])])”)

Exemplary Call

-
    node : Exchange_Data
    parameters :
        generator_expression : "One()"
Authors:

Hendrik Woehrle (hendrik.woehrle@dfki.de)

Created:

2012/04/20

POSSIBLE NODE NAMES:
 
  • ExchangeDataNode
  • Exchange_Data
  • ExchangeData
POSSIBLE INPUT TYPES:
 
  • TimeSeries

Class Components Summary

_execute(data) Exchanges the data with some manually generated data.
input_types
input_types = ['TimeSeries']
__init__(generator_expression='Adder([One(),Multiplier([Constant(200),Channel(data.shape[1],data.shape[0])]),TimePoint(data.shape[1],data.shape[0])])', **kwargs)[source]
_execute(data)[source]

Exchanges the data with some manually generated data.