mne.label.find_pos_in_annot

mne.label.find_pos_in_annot(pos, subject='fsaverage', annot='aparc+aseg', subjects_dir=None)[source]

Find name in atlas for given MRI coordinates.

Parameters
posndarray, shape (3,)

Vector of x,y,z coordinates in MRI space.

subjectstr

MRI subject name.

annotstr

MRI volumetric atlas file name. Do not include the .mgz suffix.

subjects_dirpath-like

Path to MRI subjects directory.

Returns
labelstr

Anatomical region name from atlas.

Notes

New in version 0.24.

Examples using mne.label.find_pos_in_annot