DiscardInvalidData¶
Remove slices of the incoming packets that contain invalid data.
This node can use various criteria to determine whether some data in a chunk is invalid (e.g., contains any infinite values or NaN values). However, since the data is a multi-dimensional array, one cannot just cut out a single number -- instead, a whole slice needs to be removed, and you can select whether you want to remove the affected channel(s), time range, instances, and so on, by selecting the desired axis along which to prune. It is important to note that this node will not remove a different set of e.g., channels on each successive chunk that it is getting (this would break subsequent processing). Instead, this node determines what to remove when it receives a non-streaming chunk ( e.g., an imported recording or some calibration data), and then carries that removal mask over unchanged to any subsequent streaming chunk. Note that these are some relatively basic criteria to identify completely invalid data. This node does not do the kind of sophisticated statistical analysis that dedicated bad-channel removal or bad-time window removal nodes perform. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
axis¶
Axis along which to remove data. For instance, if this is set to space, then channels with invalid data will be removed.
criteria¶
Pruning criteria. This is a list of multiple possible criteria, formatted as in all or some of: ['has-inf', 'has-nan', 'all-nan', 'all-zero'].
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.