DataAction¶
- class DataAction(validate=True)[source]¶
Abstract action done on measured data to process it.
Each subclass of DataAction must define the way it formats, validates and processes data.
Create new node.
- Parameters:
validate (bool) – If set to False the DataAction will not validate its input.
Methods
- __call__(data)[source]¶
Call the data action of this node on the data.
- Parameters:
data (ndarray) – A numpy array with arbitrary dtype. If the elements are ufloat objects consisting of a nominal value and a standard error, then the error propagation is done automatically.
- Returns:
The processed data.
- Return type:
ndarray