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:
- info
mne.Info
The
mne.Info
object with information about the sensors and methods of measurement.- trans
str
|dict
| instance ofTransform
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_affine
ndarray
offloat
, 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 andmne.verbose()
for details. Should only be passed as a keyword argument.
- info
- Returns:
Notes
New in v1.4.0.