mne.morph_source_spaces(src_from, subject_to, surf='white', subject_from=None, subjects_dir=None, verbose=None)[source]#

Morph an existing source space to a different subject.


This can be used in place of morphing source estimates for multiple subjects, but there may be consequences in terms of dipole topology.

src_frominstance of SourceSpaces

Surface source spaces to morph.


The destination subject.


The brain surface to use for the new source space.

subject_fromstr | None

The “from” subject. For most source spaces this shouldn’t need to be provided, since it is stored in the source space itself.

subjects_dirpath-like | 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.

srcinstance of SourceSpaces

The morphed source spaces.


New in v0.10.0.

Examples using mne.morph_source_spaces#

Use source space morphing

Use source space morphing