mne.morph_data_precomputed

mne.morph_data_precomputed(subject_from, subject_to, stc_from, vertices_to, morph_mat)

Morph source estimate between subjects using a precomputed matrix

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.

stc_from : SourceEstimate

Source estimates for subject “from” to morph.

vertices_to : list of array of int

The vertices on the destination subject’s brain.

morph_mat : sparse matrix

The morphing matrix, typically from compute_morph_matrix.

Returns:

stc_to : SourceEstimate

Source estimate for the destination subject.