Dipole fit

External Email - Use Caution

Hi!
How can you fit two or more dipoles (modeling two different simultaneously
occurring sources)?

Best,
Karin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180906/d853b45c/attachment.html

External Email - Use Caution

hi Karin,

no this is so far not implemented. What you could do it get the residuals
out of mne.fit_dipole and reapply the function on residuals. It's not
so trivial though.

I invite you to open an issue here :
https://github.com/mne-tools/mne-python/issues
explain what you would like to do and we'll add this to the agenda.

Alex

Hi Karin,

You cannot just fit to the residuals! The fields of the previously fitted dipoles have to be projected out of the data and the gain vectors of new candidates. Or, equivalently, the previously fitted dipoles have to be included (as fixed) the new model.

Because of this kind of partly heuristic strategies needed, a GUI is necessary and has to be very responsive and different kinds of feedback needs to be provided.

The MNE-CPP software will eventually include an ?mne_analyze? GUI which will be able to do this.

Best,
Matti