mne.preprocessing.nirs.short_channels

mne.preprocessing.nirs.short_channels(info, threshold=0.01)[source]

Determine which NIRS channels are short.

Channels with a source to detector distance of less than threshold are reported as short. The default threshold is 0.01 m.

Parameters
infoInfo

The measurement info.

thresholdfloat

The threshold distance for what is considered short in meters.

Returns
shortarray of bool

Array indicating which channels are short. Of shape equal to number of channels.

Examples using mne.preprocessing.nirs.short_channels