ArtifactRegression¶
Remove artifacts by regression from data using specified reference channels.
This is an online filter that operates on continuous data, and removes artifacts using a regression technique, if artifact channels (e.g., EOG or EMG) are present (using recursive least squares). Note that noise in the artifact signals may be transferred onto the other channels. This filter is meant to be run on continuous data. Therefore, it should not be preceded by a Segmentation node. This node maintains internal state. Version 1.1.0
Ports/Properties¶
data¶
Data to process.
forget_halftime¶
Half-life time constant of filter, in seconds. Data that lies this many seconds in the past will be weighted half as much as the most recent data when designing the filter, and data twice as old will be weighted by 1/4, etc. Can also be thought of as the half-life of the weights for an exponentially weighted filter. (default = 60 seconds).
kernel_length¶
Kernel Length. The length/order of the temporal FIR filter kernel.
reference_axis¶
Axis along which to take the reference channels. In most cases this is the space axis.
reference_channels¶
List of artifact reference channel indices or channel names to use as reference for regression. When the space axis is used, this is typically a channel range (e.g. '0:1', [0, 1]) or list of channel names (e.g. ['Fp1', 'Fp2']).
reference_unit¶
Unit in which the reference selection is given. If the axis is other than space or feature, the unit must be set to indices.
use_caching¶
Enable caching.
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.