analyzer_sink

Module: missions.nodes.sink.analyzer_sink

Collect time series to store them in an Analyzer-readable file.

Inheritance diagram for pySPACE.missions.nodes.sink.analyzer_sink:

Inheritance diagram of pySPACE.missions.nodes.sink.analyzer_sink

Class Summary

AnalyzerCollection([dataset_md]) Derived class from BaseDataset to store data in an Analyzer readable format
AnalyzerSinkNode([original_name]) Store all TimeSeries that are passed to it in an collection of type AnalyzerCollection

Classes

AnalyzerCollection

class pySPACE.missions.nodes.sink.analyzer_sink.AnalyzerCollection(dataset_md=None)[source]

Bases: pySPACE.resources.dataset_defs.base.BaseDataset

Derived class from BaseDataset to store data in an Analyzer readable format

This class derived from BaseDataset overwrites the ‘store’ method from the BaseDataset class so that the stored files can be read with the BrainVision Analyzer. Remaining spaces in front and between the single windows are filled with zeros.

The input can be a TimeSeries collection or a single time series resulted from merging the datasets.

Parameters

dataset_md:

The meta data of the current collection of TimeSeries item.

(optional, default: None)

Author:Johannes Teiwes (Johannes.Teiwes@dfki.de)
Created:2010/05/09
Modified:Foad Ghaderi 2014/04/15

Class Components Summary

store(result_dir[, s_format])
__init__(dataset_md=None)[source]
store(result_dir, s_format='bp_eeg')[source]

AnalyzerSinkNode

class pySPACE.missions.nodes.sink.analyzer_sink.AnalyzerSinkNode(original_name=False, **kwargs)[source]

Bases: pySPACE.missions.nodes.base_node.BaseNode

Store all TimeSeries that are passed to it in an collection of type AnalyzerCollection

This node enables the software to store the passed data in an BrainVision Analyzer readable format.

Parameters

Original_name:

If the node parameter original_name is set to ‘True’, the result files are saved with the name of the original file.

(optional, default: False)

Exemplary Call

- 
    node : Analyzer_Sink
    parameters :
        original_name : True
Author:

Johannes Teiwes (Johannes.Teiwes@dfki.de)

Created:

2010/05/09

POSSIBLE NODE NAMES:
 
  • AnalyzerSinkNode
  • AnalyzerSink
  • Analyzer_Sink
POSSIBLE INPUT TYPES:
 
  • TimeSeries

Class Components Summary

_execute(data[, n])
_train(data, label)
get_result_dataset() Return the result of this last node
input_types
is_supervised() Returns whether this node requires supervised training
is_trainable() Returns whether this node is trainable
process_current_split() Compute the results of this sink node for the current split of the data
input_types = ['TimeSeries']
__init__(original_name=False, **kwargs)[source]
is_trainable()[source]

Returns whether this node is trainable

is_supervised()[source]

Returns whether this node requires supervised training

process_current_split()[source]

Compute the results of this sink node for the current split of the data into train and test data

_execute(data, n=None)[source]
_train(data, label)[source]
get_result_dataset()[source]

Return the result of this last node