mne.read_morph_map

mne.read_morph_map(subject_from, subject_to, subjects_dir=None, verbose=None)

Read morph map

Morph maps can be generated with mne_make_morph_maps. If one isn’t available, it will be generated automatically and saved to the subjects_dir/morph_maps directory.

Parameters:

subject_from : string

Name of the original subject as named in the SUBJECTS_DIR.

subject_to : string

Name of the subject on which to morph as named in the SUBJECTS_DIR.

subjects_dir : string

Path to SUBJECTS_DIR is not set in the environment.

verbose : bool, str, int, or None

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

Returns:

left_map, right_map : sparse matrix

The morph maps for the 2 hemispheres.