# MEG math documentation

**URL:** <https://mne.discourse.group/t/meg-math-documentation/1055>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [August 8, 2016, 6:32pm UTC](https://mne.discourse.group/t/meg-math-documentation/1055 "2016-08-08T18:32:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 8, 2016, 6:32pm UTC](https://mne.discourse.group/t/meg-math-documentation/1055/1 "2016-08-08T18:32:37Z")

</div>

Hello,

Does anyone know of a comprehensive document that explains all of the math  
one uses to go from raw data to source localized data? Such a document  
would include maxfilter equations (SSS, tSSS, maxmove, etc), all of the  
computational geometry that's done on the structural files, and the fwd/inv  
equations. I know the MNE manual has some of these equations scattered  
throughout, but is there any other resource?

-Dan Howarth  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20160808/947a6c82/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160808/947a6c82/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 9, 2016, 4:25am UTC](https://mne.discourse.group/t/meg-math-documentation/1055/2 "2016-08-09T04:25:33Z")

</div>

Hello Dan,

there is the big Matti H?m?l?inen et al. MNE paper, written by the original authors of the MNE package. It contains everything there is to know about source localization:

[http://journals.aps.org/rmp/abstract/10.1103/RevModPhys.65.413](http://journals.aps.org/rmp/abstract/10.1103/RevModPhys.65.413)

it doesn?t contain the maxfilter equations though.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 9, 2016, 10:18am UTC](https://mne.discourse.group/t/meg-math-documentation/1055/3 "2016-08-09T10:18:17Z")

</div>

Hi Dan,

regarding SSS, Samu Taulu's work includes a lot of math:

Taulu, S. & Kajola, M., 2005. Presentation of electromagnetic multichannel data: The signal space separation method. Journal of Applied Physics, 97(124905), pp.1?10.

Best regards,  
Anja

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 10, 2016, 12:51pm UTC](https://mne.discourse.group/t/meg-math-documentation/1055/4 "2016-08-10T12:51:46Z")

</div>

Hi,

> there is the big Matti H?m?l?inen et al. MNE paper, written by the original authors of the MNE package. It contains everything there is to know about source localization:
> 
> [Rev. Mod. Phys. 65, 413 (1993) - Magnetoencephalography---theory, instrumentation, and applications to noninvasive studies of the working human brain](http://journals.aps.org/rmp/abstract/10.1103/RevModPhys.65.413)

this paper is great but it will not give you all the details about the  
MNE solver  
that is currently implemented in 2016. I fear the materials are indeed a bit  
scattered.

The best we can do with little time is to add all the relevant refs in  
the Notes and References  
sections of the function docstrings.

See eg:

[http://martinos.org/mne/dev/generated/mne.preprocessing.maxwell\_filter.html#mne.preprocessing.maxwell\_filter](http://martinos.org/mne/dev/generated/mne.preprocessing.maxwell_filter.html#mne.preprocessing.maxwell_filter)

But for example in :

[http://martinos.org/mne/dev/generated/mne.minimum\_norm.make\_inverse\_operator.html#mne.minimum\_norm.make\_inverse\_operator](http://martinos.org/mne/dev/generated/mne.minimum_norm.make_inverse_operator.html#mne.minimum_norm.make_inverse_operator)

we could do better.

any volunteer?

Best,  
Alex
