mne.scale_source_space(subject_to, src_name, subject_from=None, scale=None, subjects_dir=None, n_jobs=1)

Scale a source space for an mri created with scale_mri()


subject_to : str

Name of the scaled MRI subject (the destination mri subject).

src_name : str

Source space name. Can be a spacing parameter (e.g., '7', 'ico4', 'oct6') or a file name of a source space file relative to the bem directory; if the file name contains the subject name, it should be indicated as “{subject}” in src_name (e.g., "{subject}-my_source_space-src.fif").

subject_from : None | str

The subject from which to read the source space. If None, subject_from is read from subject_to’s config file.

scale : None | float | array, shape = (3,)

Scaling factor. Has to be specified if subjects_from is specified, otherwise it is read from subject_to’s config file.

subjects_dir : None | str

Override the SUBJECTS_DIR environment variable.

n_jobs : int

Number of jobs to run in parallel if recomputing distances (only applies if scale is an array of length 3, and will not use more cores than there are source spaces).