cortex.xfm.Transform¶
-
class
cortex.xfm.
Transform
(xfm, reference)[source]¶ A standard affine transform. Typically holds a transform from anatomical magnet space to epi file space.
Methods
__init__
(xfm, reference)Initialize self.
from_freesurfer
(fs_register, func_nii, subject)Converts a FreeSurfer transform to a pycortex transform.
from_fsl
(xfm, func_nii, anat_nii)Converts an fsl transform to a pycortex transform.
save
(subject, name[, xfmtype])to_freesurfer
(fs_register, subject[, …])Converts a pycortex transform to a FreeSurfer transform.
to_fsl
(anat_nii[, direction])Converts a pycortex transform to an FSL transform.
Attributes
inv