[Mne_analysis] Custom Leadfield matrix/Forward operator

Sebastián Castaño sebastian.castano at brainlinks-braintools.uni-freiburg.de
Mon Feb 6 02:59:37 EST 2017
Search archives:

Hi Eric,

thank you for the hints!, I'll probably figure it out... or open an issue
in case I don't.

Once I'm done, I'll upload a gist in case it turns out useful :).

Sebastián

2017-02-05 2:33 GMT+01:00 Eric Larson <larson.eric.d at gmail.com>:

> Does MNE has an utility to create the forward object (as delivered
>> by mne.read_forward_solution, for example) when I have all the information
>> regarding lead field matrix, dipole positions etc...)
>>
>
> The Forward object is a thin wrapper around the standard Python dict:
>
> https://github.com/mne-tools/mne-python/blob/master/mne/
> forward/forward.py#L47
>
> In this sense, you can just create and populate the Forward object in the
> same way as a dict.
>
> or I have to have to create this object by hand? (which would be rather
>> inconvenient, since it seems to be a huge object)
>>
>
> Yep, you'll need to do it by hand. Because the Forward class is so simple,
> there probably isn't a great way to simplify this process, beyond providing
> documentation. The variables in the Forward class are all there for either
> inversion on bookkeeping.
>
> Can you look through the docs, and if you don't see what you need, open an
> MNE issue? We can improve the documentation for what all the variables mean
> as we go.
>
> At some point we could also try to add support for OpenMEEG
> <https://github.com/mne-tools/mne-python/issues/1624>, which would give
> you more options for forward models, too.
>
> Eric
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>


-- 
Juan Sebastián Castaño Candamil
Wissenschaftlicher Mitarbeiter
Brain State Decoding Lab
BrainLinks-BrainTools Excellence Cluster
University of Freiburg

Webpages:
http://www.bsdlab.uni-freiburg.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170206/4ed45706/attachment.html 


More information about the Mne_analysis mailing list