SanityCheck¶
Deprecated: use the Gate Check node instead, which now covers all of these criteria (and more).
Check data coming from a file for certain criteria. Passes the data through if all criteria pass, and passes None otherwise. Designed for offline data, such as to terminate a pipeline if data would cause an error. Outputs the failed checks to a text file with the same path as the original file, with
Ports/Properties¶
data¶
Data
eeg_stream¶
Name of EEG stream to check. Leave empty to check the first signal stream found.
required_streams¶
List of stream names which must be present in the data packet.
has_data¶
The packet must contain data (data tensor not empty).
min_length¶
Minimum data length, in seconds, based on the difference between the first and last time stamps.
max_length¶
Maximum data length, in seconds, based on the difference between the first and last time stamps. (Catch very large files that would cause a memory error.)
required_axes¶
List of axes which must be present in the data, at minimum.
excluded_axes¶
List of axes which must NOT be present in the data.
marker_stream¶
Packet must contain a marker stream.
required_markers¶
List of markers which must appear at least once in a marker stream.
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.