mne.preprocessing.ieeg.warp_montage#
- mne.preprocessing.ieeg.warp_montage(montage, moving, static, reg_affine, sdr_morph, verbose=None)[source]#
Warp a montage to a template with image volumes using SDR.
Note
This is likely only applicable for channels inside the brain (intracranial electrodes).
- Parameters:
- montageinstance of
mne.channels.DigMontage The montage object containing the channels.
- movinginstance of
SpatialImage The image to morph (“from” volume).
- staticinstance of
SpatialImage The image to align with (“to” volume).
- reg_affine
ndarrayoffloat, 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.
- montageinstance of
- Returns:
- montage_warped
mne.channels.DigMontage The modified montage object containing the channels.
- montage_warped