mne.scale_bem

mne.scale_bem(subject_to, bem_name, subject_from=None, scale=None, subjects_dir=None, verbose=None)[source]

Scale a bem file.

Parameters
subject_tostr

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

bem_namestr

Name of the bem file. For example, to scale fsaverage-inner_skull-bem.fif, the bem_name would be “inner_skull-bem”.

subject_fromNone | str

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

scaleNone | 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_dirNone | str

Override the SUBJECTS_DIR environment variable.

verbosebool, str, int, or None

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.

Examples using mne.scale_bem