Skip to content

← signal_processing package

ChannelSubset

Select a subset of channels to retain.

Different indexing schemes are supported, including regularly spaced indices, random subset, and spatially equidistant subset. Version 0.5.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

fraction

Fraction of channels to keep. Either fraction or count must be given.

  • verbose name: Fraction
  • default value: None
  • port type: FloatPort
  • value type: float (can be None)

count

Number of channel to keep. Either fraction or count must be given.

  • verbose name: Count
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

indexing

Indexing scheme. Regular uses regularly spaced indexes (i.e., channel 1, 3, 5, etc), equidistant uses channels that are maximally evenly spaced in 3d (requires channel positions to be set), and random uses a pseudo-random subset of channels. Depending on how the headset channels are ordered, regular can give less even results than random in unlucky cases.

  • verbose name: Indexing
  • default value: equidistant
  • port type: EnumPort
  • value type: str (can be None)

randseed

Random seed if using random subset.

  • verbose name: Randseed
  • default value: 12345
  • port type: IntPort
  • value type: int (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)