Skip to content

← nirs package

GroupChannelsByWavelength

Group channels into groups by wavelength.

Channels with the same source detector but differing in wavelength are grouped, indicated by a Feature axis (with the wavelength as the name). Expects a packet with space and time axes as well as .positions, .positions_source, .wavelengths. Reshapes the signal data tensor from 2D space x time to 3D (space / num wavelengths) x feature x time. Adds a Feature axis with a row for each wavelength, named with the wavelength + nm, i.e. '760nm'. Version 0.7.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

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)