surfa.Space
surfa.Space#
- class surfa.Space(name)#
- Here are the 3 spaces supported (see https://github.com/freesurfer/freesurfer/blob/dev/include/mri.h)
FS_COORDS_UNKNOWN FS_COORDS_TKREG_RAS - Freesurfer surface RAS space FS_COORDS_SCANNER_RAS - scanner RAS space FS_COORDS_VOXEL - voxel space
Coordinate space representation. Supported spaces are:
voxel: Voxel (or image) coordinate space.
world: Universal world-space generally represented in RAS orientation.
surface: Surface or mesh coordinate space, dependent on base image geometry.
- Parameters
name (str) – Name of coordinate space, case-insensitive.
Attributes
CODE_TO_LETTERFS_COORDS_SCANNER_RASFS_COORDS_TKREG_RASFS_COORDS_UNKNOWNFS_COORDS_VOXELLETTER_TO_CODEnamePrimary coordinate system name.
Methods
- copy()#
Create a copy of the space.