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
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

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.