Skip to content

← neural package

RejectIndependentComponents

Automatically reject independent components that have previously been classified into artifact types.

This requires that the data has been decomposed into ICs and that the ICs have been classified into artifact types. This node should be used with the following workflow: 1) optional artifact removal (highpass, etc.). 2) Common average reference. 3) ICA (e.g., InfomaxICA). 4) ClassifyIndependentComponents. 5) This node. Version 0.3.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

rejected_list

List of rejected component numbers.

  • verbose name: Rejected List
  • default value: None
  • port type: DataPort
  • value type: list (can be None)
  • data direction: OUT

thresholds

Confidence thresholds for each artifact class. This is a dictionary mapping class names to threshold values (with 1.0 being 100% confidence). Classes that are not listed will not be rejected.

  • verbose name: Thresholds
  • default value: {'muscle': 0.8, 'eye': 0.8, 'cardiac': 0.8, 'line noise': 0.8}
  • port type: DictPort
  • value type: dict (can be None)

backproject

Back-project to channel space. If enabled, the retained components will be back-projected to channel space.

  • verbose name: Backproject
  • default value: True
  • port type: BoolPort
  • value type: bool (can be None)

verbose

Enable verbose output.

  • verbose name: Verbose
  • default value: True
  • 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)