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
Name of the subject to load surfaces from.
- subjects_dir
str
, orNone
Path to SUBJECTS_DIR if it is not set in the environment.
- verbosebool,
str
,int
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more). If used, it should be passed as a keyword-argument only.
- vertices
- Returns
- coordinates
array
, shape (n_vertices, 3) The MNI coordinates (in mm) of the vertices.
- coordinates