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:
verticesint, or list of int

Vertex number(s) to convert.

hemisint, or list of int

Hemisphere(s) the vertices belong to.

subjectstr

The FreeSurfer subject name.

subjects_dirstr, or None

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 and mne.verbose() for details. Should only be passed as a keyword argument.

Returns:
coordinatesarray, shape (n_vertices, 3)

The MNI coordinates (in mm) of the vertices.

Examples using mne.vertex_to_mni#

Extracting time course from source_estimate object

Extracting time course from source_estimate object

Extracting time course from source_estimate object