brainspace.mesh.mesh_elements.get_points

brainspace.mesh.mesh_elements.get_points(surf, mask=None)[source]

Get surface points.

Parameters:
  • surf (vtkDataSet or BSDataSet) – Input surface.
  • mask (1D ndarray, optional) – Binary mask. If specified, only get points within the mask. Default is None.
Returns:

points (ndarray, shape (n_points, 3)) – Array of points.

See also

get_cells, get_edges