There was an error while loading. Please reload this page.
1 parent 58c8ab2 commit a694657Copy full SHA for a694657
1 file changed
doc/changes/dev/13862.newfeature.rst
@@ -0,0 +1,6 @@
1
+- Fix :func:`mne.preprocessing.nirs.beer_lambert_law` to support explicitly
2
+ provided ``sd_distances`` during Beer-Lambert conversion. When valid
3
+ source-detector distances are already present in ``raw.info``, overriding them
4
+ now emits a warning, and when all inferred distances are invalid and no
5
+ explicit distances are provided, a ``ValueError`` is raised instead of
6
+ silently producing zero concentrations. (`#13862 <https://github.com/mne-tools/mne-python/pull/13862>`_ by `Kalle Makela`_)
0 commit comments