mne.transforms.apply_volume_registration_points#

mne.transforms.apply_volume_registration_points(info, trans, moving, static, reg_affine, sdr_morph=None, verbose=None)[source]#

Apply volume registration.

Uses registration parameters computed by compute_volume_registration().

Parameters:
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

transstr | dict | instance of Transform

If str, the path to the head<->MRI transform *-trans.fif file produced during coregistration. Can also be 'fsaverage' to use the built-in fsaverage transformation.

movinginstance of SpatialImage

The image to morph (“from” volume).

staticinstance of SpatialImage

The image to align with (“to” volume).

reg_affinendarray of float, shape (4, 4)

The affine that registers one volume to another.

sdr_morphinstance of dipy.align.DiffeomorphicMap

The class that applies the the symmetric diffeomorphic registration (SDR) morph.

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.

Returns:
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

trans2instance of Transform

The head->mri (surface RAS) transform for the static image.

Notes

New in version 1.4.0.