class documentation

List of data arrays to be aligned.

The main purpose of this class is to be used as a single container of the data arrays to be aligned by alignData() in the parent module. A data array is defined as an array where rows correspond to recordings at different moments of an experiment. Elements of these rows correspond to different measures. These data arrays can be aligned along the time or the function values for instance.

This class is part abstract. Some methods have to be defined by inheriting classes depending on wanted alignment:

  • isFinished(), True when all the data is read.
  • getInitialValue(), returns the initial alignment value.
  • newCurrentValue(), returns the next alignment value.
  • align(), process all the elements of self to make them aligned.

Some attributes have to be defined as well idx, the index of the column with alignment values in the data array, idxData, the index of the column with the actual data.

Class SingleReader Single data array reader class.
Method __init__ accepts a list of arrays or a MultiReader (i.e. a list of SingleReader) as input data type
Method currentLine Aggregates currentLines information.
Method currentValues Gets the list of the current alignment values.
Method nextValues Gets the list of the next alignment values.
Instance Variable isHArray Undocumented
def __init__(self, data, isHArray=False):

accepts a list of arrays or a MultiReader (i.e. a list of SingleReader) as input data type

def currentLine(self):

Aggregates currentLines information.

def currentValues(self):

Gets the list of the current alignment values.

def nextValues(self):

Gets the list of the next alignment values.

isHArray =

Undocumented