mne.scale_mri

mne.scale_mri(subject_from, subject_to, scale, overwrite=False, subjects_dir=None, skip_fiducials=False, labels=True, annot=False, verbose=None)[source]

Create a scaled copy of an MRI subject.

Parameters
subject_fromstr

Name of the subject providing the MRI.

subject_tostr

New subject name for which to save the scaled MRI.

scalefloat | array_like, shape = (3,)

The scaling factor (one or 3 parameters).

overwritebool

If an MRI already exists for subject_to, overwrite it.

subjects_dirNone | str

Override the SUBJECTS_DIR environment variable.

skip_fiducialsbool

Do not scale the MRI fiducials. If False (default), an IOError will be raised if no fiducials file can be found.

labelsbool

Also scale all labels (default True).

annotbool

Copy *.annot files to the new location (default False).

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.

See also

scale_labels

Add labels to a scaled MRI.

scale_source_space

Add a source space to a scaled MRI.

Examples using mne.scale_mri