class MultiReader(list):
Known subclasses: cocopp.readalign.ArrayMultiReader
, cocopp.readalign.HMultiReader
, cocopp.readalign.VMultiReader
Constructor: MultiReader(data, isHArray)
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 |
|
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 | current |
Aggregates currentLines information. |
Method | current |
Gets the list of the current alignment values. |
Method | next |
Gets the list of the next alignment values. |
Instance Variable | is |
Undocumented |
cocopp.readalign.ArrayMultiReader
, cocopp.readalign.HMultiReader
, cocopp.readalign.VMultiReader
accepts a list of arrays or a MultiReader
(i.e. a list of
SingleReader
) as input data
type