getaffine()

Usage [source]:
M = getaffine(surface_name, hemisphere)
Description:
Returns vox2ras transform for a surface (author: @saratheriver)
Inputs:
  • surface_name (string) - Name of surface {‘fsa5’, ‘conte69’}
  • hemisphere (string) - Name of hemisphere {‘lh’, ‘rh’, ‘both’}
Outputs:
  • M (double) – Vox2ras transform, size = [4 x 4]