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

Adela Glez. adelaglezcom at gmail.com
Wed May 9 20:14:16 EDT 2018
Search archives:

        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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180510/1b707dc9/attachment-0001.html 


More information about the Mne_analysis mailing list