mne.morph_source_spaces¶
-
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.
Warning
This can be used in place of morphing source estimates for multiple subjects, but there may be consequences in terms of dipole topology.
- Parameters
- src_frominstance of
SourceSpaces
Surface source spaces to morph.
- subject_to
str
The destination subject.
- surf
str
The brain surface to use for the new source space.
- subject_from
str
|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_dir
str
|None
Path to SUBJECTS_DIR if it is not set in the environment.
- verbosebool,
str
,int
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more). If used, it should be passed as a keyword-argument only.
- src_frominstance of
- Returns
- srcinstance of
SourceSpaces
The morphed source spaces.
- srcinstance of
Notes
New in version 0.10.0.