ChannelBaselineCalibration¶
This node can be used to "zero" an output signal based on some initial baseline calibration data.
A typical use case is when you have a pipeline that computes an output signal that may be positive or negative, e.g., imagined movement or emotional state, and that output is biased in an undesirable way (e.g., emotional state pegged to "excited"). In such cases you can place this node at the end, an just prior to using the pipeline you gather a baseline period where you know that the desired output should be zero (e.g., neutral emotional state). This node will then compute the average on each channel of the output in that period, store it, and from then on subtract that value from the signal, so that a neutral state yields the desired unbiased zero output. The assumption is that then the entire output range will be shifted roughly as desired (e.g., negative emotional state would be below zero, etc.). The node can also be used on non-streaming data, in which case the baseline will be calculated from the entire data. Version 1.0.1
Ports/Properties¶
data¶
Data to process.
calib_length¶
Data length for calibration. In seconds when applied to a time-domain signal, otherwise this is the number of instances/segments/trials to calibrate on.
offline_all¶
Whether to use all data in the offline case. If set to False, will also respect the calib_length.
estimator¶
Type of estimator to use. The median estimator is robust.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.