[Mne_analysis] How to obtain MNI coords using mne.vertex_to_mni (newbie)

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu May 10 03:35:03 EDT 2018
Search archives:

        External Email - Use Caution        

hi,

what do you mean your MEG data?

vertices here are SourceEstimate (aka stc) vertices.


HTH
Alex


On Thu, May 10, 2018 at 2:14 AM, Adela Glez. <adelaglezcom at gmail.com> wrote:

>         External Email - Use Caution
>
> Hi,
>
> In order to obtain the MNI coordinates of my MEG data, I have to use mne.vertex_to_mni.
> Could someone give me an example of its usage?
>
> As for the first argument, how to obtain the vertex numbers of my data?
> I'm new in Python. Then, second argument, I can't find what code is right
> or left hemisphere. Is there a way to get in one output both hemispheres
> (=the whole brain)?
>
> Thank you,
> Adela
>
> This is the help of the function:
>
> mne.vertex_to_mni(*vertices*, *hemis*, *subject*, *subjects_dir=None*,
> *mode=None*, *verbose=None*)
> [source]
> <http://github.com/mne-tools/mne-python/blob/master/doc/%3Cstring%3E#L1129-L1187>
> <https://martinos.org/mne/dev/generated/mne.vertex_to_mni.html#mne.vertex_to_mni>
>
> Convert the array of vertices for a hemisphere to MNI coordinates.
> Parameters: *vertices* : int, or list of int
>
> Vertex number(s) to convert
> *hemis* : int, or list of int
>
> Hemisphere(s) the vertices belong to
> *subject* : string
>
> Name of the subject to load surfaces from.
> *subjects_dir* : string, or None
>
> Path to SUBJECTS_DIR if it is not set in the environment.
>
>
>
>
>
> _______________________________________________
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180510/718b0af7/attachment.html 


More information about the Mne_analysis mailing list