mne.preprocessing.nirs.source_detector_distances

mne.preprocessing.nirs.source_detector_distances(info, picks=None)[source]

Determine the distance between NIRS source and detectors.

Parameters
infoInfo

The measurement info.

picksstr | list | slice | None

Channels to include. Slices and lists of integers will be interpreted as channel indices. In lists, channel type strings (e.g., ['meg', 'eeg']) will pick channels of those types, channel name strings (e.g., ['MEG0111', 'MEG2623'] will pick the given channels. Can also be the string values “all” to pick all channels, or “data” to pick data channels. None (default) will pick all channels.

Returns
distsarray of float

Array containing distances in meters. Of shape equal to number of channels, or shape of picks if supplied.

Examples using mne.preprocessing.nirs.source_detector_distances