Skip to content

← utilities package

RetainChannelMetadata

Store and recover space axis (channel) meta-data upon save/load of a model.

This node is occasionally useful in conjunction with pipelines for which models are being saved and then later loaded and used, such as certain real-time processing contexts where the pipeline is calibrated on some recording, a model is stored, and then later that model is used in a real-time context. In such a context, this node can ensure that whatever per-channel meta-data was available offline (e.g., loaded from an XDF file or generated via curation), will be retrieved and then associated with streaming data (e.g., coming from LSL). Note that, since this node supports multiple streams, the stream name(s) upon use of the model must match the stream names(s) that were used during calibration. Version 1.0.0

Ports/Properties

data

Data to process.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

ignore_resets

Ignore signal resets. If enabled, the meta-data will persist across resets of the data (e.g., loading of a new file) and will only be cleared if the channel count changes.

  • verbose name: Ignore Resets
  • default value: False
  • port type: BoolPort
  • value type: bool (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)