mne.vertex_to_mni¶
- mne.vertex_to_mni(vertices, hemis, subject, subjects_dir=None, verbose=None)[source]¶
Convert the array of vertices for a hemisphere to MNI coordinates.
- Parameters
- vertices
int
, orlist
ofint
Vertex number(s) to convert.
- hemis
int
, orlist
ofint
Hemisphere(s) the vertices belong to.
- subject
str
The FreeSurfer subject name.
- subjects_dir
str
, orNone
Path to SUBJECTS_DIR if it is not set in the environment.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- vertices
- Returns
- coordinates
array
, shape (n_vertices, 3) The MNI coordinates (in mm) of the vertices.
- coordinates