surfa.io.fsio.load_surface_label
surfa.io.fsio.load_surface_label#
- surfa.io.fsio.load_surface_label(filename)#
Load a FreeSurfer label file as an array of integer indices that correspond to labeled mesh vertices.
- Parameters
filename (str) – Label file to load.
- Returns
vertices – Array of $n$ integer vertex indices representing the label.
- Return type
(n,) int