mne.preprocessing.nirs.beer_lambert_law#

mne.preprocessing.nirs.beer_lambert_law(raw, ppf=6.0, *, sd_distances=None)[source]#

Convert NIRS optical density data to haemoglobin concentration.

Parameters:
rawinstance of Raw

The optical density data.

ppftuple | float

The partial pathlength factors for each wavelength.

Changed in version 1.7: Support for different factors for the two wavelengths.

sd_distancesarray_like | float | None

Source-detector distances in meters. If None, distances are read from raw.info['chs']. If array-like, the values must have a distance for each channel, matching the order in info['chs'].

Added in version 1.13.

Returns:
rawinstance of Raw

The modified raw instance.