Skip to content

← nirs package

SubtractDarkIntensity

Subtract dark intensity channels from intensity channels.

If the data have dark intensity channels, this will subtract those channels' activity from the regular NIRS intensity measures and optionally remove the dark intensity channels from the data (default=True). This node assumes that dark channels have positions set, but positions_source is set to NaN. Alternatively, the dark intensity channels can be passed into the 'dark' data port. 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

dark

Dark intensity data.

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

remove_dark_channels

Remove dark intensity channels.

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

epsilon

Allow no intensities lower than this.

  • verbose name: Epsilon
  • default value: 1e-08
  • port type: FloatPort
  • value type: float (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)