mne.grade_to_vertices(subject, grade, subjects_dir=None, n_jobs=1, verbose=None)

Convert a grade to source space vertices for a given subject


subject : str

Name of the subject

grade : int

Resolution of the icosahedral mesh (typically 5). If None, all vertices will be used (potentially filling the surface). If a list, then values will be morphed to the set of vertices specified in in grade[0] and grade[1]. Note that specifying the vertices (e.g., grade=[np.arange(10242), np.arange(10242)] for fsaverage on a standard grade 5 source space) can be substantially faster than computing vertex locations. Note that if subject=’fsaverage’ and ‘grade=5’, this set of vertices will automatically be used (instead of computed) for speed, since this is a common morph.

subjects_dir : string, or None

Path to SUBJECTS_DIR if it is not set in the environment

n_jobs : int

Number of jobs to run in parallel

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose).


vertices : list of arrays of int

Vertex numbers for LH and RH