mne.vertex_to_mni(vertices, hemis, subject, subjects_dir=None, mode=None, verbose=None)[source]

Convert the array of vertices for a hemisphere to MNI coordinates.

verticesint, or list of int

Vertex number(s) to convert.

hemisint, or list of int

Hemisphere(s) the vertices belong to.


Name of the subject to load surfaces from.

subjects_dirstr, or None

Path to SUBJECTS_DIR if it is not set in the environment.

modestr | None

Deprecated, will be removed in 0.21.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

coordinatesarray, shape (n_vertices, 3)

The MNI coordinates (in mm) of the vertices.