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'].

New in v1.13.

Returns:
rawinstance of Raw

The modified raw instance.

Examples using mne.preprocessing.nirs.beer_lambert_law#

Preprocessing functional near-infrared spectroscopy (fNIRS) data

Preprocessing functional near-infrared spectroscopy (fNIRS) data