enigmatoolbox.datasets.getaffine¶
-
enigmatoolbox.datasets.
getaffine
(surface_name, hemisphere)[source]¶ Returns vox2ras transform for a surface (author: @saratheriver)
- Parameters
surface_name (string) – Name of surface {‘fsa5’, ‘conte69’}
hemisphere (string) – Name of hemisphere {‘lh’, ‘rh’, ‘both’}
- Returns
numfaces – vox2ras transform, shape = (4, 4)
- Return type
2D ndarray