brainspace.mesh.mesh_operations.mask_points¶
-
brainspace.mesh.mesh_operations.
mask_points
(surf, mask)[source]¶ Mask surface points.
Cells corresponding to these points are also kept.
Parameters: - surf (vtkPolyData or BSPolyData) – Input surface.
- mask (1D ndarray) – Binary boolean array. Zero elements are discarded.
Returns: surf_masked (vtkPolyData or BSPolyData) – PolyData after masking.
See also