This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
Loading a surface mesh geometry
- surf_meshstr or numpy.ndarray or Mesh
Either a file containing surface mesh geometry (valid formats are .gii .gii.gz or Freesurfer specific files such as .orig, .pial, .sphere, .white, .inflated) or two Numpy arrays organized in a list, tuple or a namedtuple with the fields “coordinates” and “faces”, or a Mesh object with “coordinates” and “faces” attributes.
With the fields “coordinates” and “faces”, each containing a numpy.ndarray