GetAxisMask¶
Identifies which slices meet criteria parameters and outputs the result as a mask packet.
Only the first chunk with the axis_type is processed; See ExtractStreams. The mask packet can then be used by ApplyAxisMask to mask out slices along the specified dimension, in a packet with one or more streams with a matching axis. These nodes can be used to slice out trials with bad data. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
mask¶
Output mask.
comparison_data¶
Optionally compare input data to this packet. Any len()>1 axes must match input data exactly.
axis_type¶
The axis along which to evaluate the criteria. A specific axis can be specified using axis.mylabel syntax.
comparison_value¶
Value to compare data to if comparison_data not provided. Default -np.inf and greater_equal will eliminate nan trials.
comparison_operator¶
dimension_operator¶
When input chunk is multidimensional, this operation will be applied to the result of the comparison across all other axes.
invert_selection¶
If set then the resulting mask will be inverted.
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.