PlayBackREC¶
Play back the content of a previously recorded rec file.
This node will output the same sequence of packets that was received by RecordToRec when the data was originally recorded. Note that a REC file may contain either one packet (if the output of an offline processing pipeline was stored), or multiple successive packets (if the output of a streaming/online processing pipeline was stored), and consequently it will output either one or multiple packets over the course of successive scheduler ticks. Note that the playback runs at whatever tickrate that is globally set for NeuroPype (default 25Hz) and does not recreate the millisecond-exact timing of arrival of the original data (unless the pipeline ran at precisely the same tickrate without hitches during the recording). Implementation notes: the file format is based on Python's pickle system. Since pickle is very flexible, files obtained from the internet may be infected by viruses or could otherwise have been tampered with, and should be treated with the same caution as, e.g., foreign MS Word documents. Version 1.0.1
Ports/Properties¶
data¶
Output signal.
- verbose name: Data
- default value: None
- port type: DataPort
- value type: Packet (can be None)
- data direction: OUT
filename¶
Filename of the REC data file to import and play back. If a relative path is given, a file of this name will be looked up in the standard data directories (/resources and Examples/).
- verbose name: Filename
- default value:
- port type: StringPort
- value type: str (can be None)
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)