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_LETTER

FS_COORDS_SCANNER_RAS

FS_COORDS_TKREG_RAS

FS_COORDS_UNKNOWN

FS_COORDS_VOXEL

LETTER_TO_CODE

name

Primary coordinate system name.

Methods

copy()#

Create a copy of the space.