Skip to content

Commit 73e1d85

Browse files
authored
Update inverse.rst DOC (mne-tools#10922)
* Update inverse.rst Adds a note in the whitening section of Algorithms and other implementation details doc to clarify the forward model gain matrix is also average referenced during whitening. * Update latest.inc * Update names.inc
1 parent 86d3c2a commit 73e1d85

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

doc/_includes/inverse.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ to raw data. To reflect the decrease of noise due to averaging, this matrix,
150150
:math:`C_0`, is scaled by the number of averages, :math:`L`, *i.e.*, :math:`C =
151151
C_0 / L`.
152152

153+
.. note::
154+
When EEG data are included, the gain matrix :math:`G` needs to be average referenced when computing the linear inverse operator :math:`M`. This is incorporated during creating the spatial whitening operator :math:`C^{-^1/_2}`, which includes any projectors on the data. EEG data average reference (using a projector) is mandatory for source modeling and is checked when calculating the inverse operator.
155+
153156
As shown above, regularization of the inverse solution is equivalent to a
154157
change in the variance of the current amplitudes in the Bayesian *a priori*
155158
distribution.

doc/changes/latest.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Current (1.1.dev0)
2323

2424
Enhancements
2525
~~~~~~~~~~~~
26+
- Add a note to clarify the inclusion of average referencing gain matrix during whitening (:gh:`10922` by :newcontrib:`Mingjian He`)
27+
2628
- Add time axis scale bar for :meth:`mne.Epochs.plot` using matplotlib backend (:gh:`10736` by :newcontrib:`Jordan Drew`)
2729

2830
- Add :func:`mne.bem.distance_to_bem` to find depth of source positions (:gh:`10632` by :newcontrib:`Matt Courtemanche`)

doc/changes/names.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,3 +457,5 @@
457457
.. _Lukas Gemein: https://github.com/gemeinl
458458
459459
.. _Frederik Weber: https://github.com/Frederik-D-Weber
460+
461+
.. _Mingjian He: https://github.com/mh105

0 commit comments

Comments
 (0)