iwopy.utils.RegularDiscretizationGrid.find_ingrid(pts)[source]

Finds points that are on grid.

Parameters

pts: numpy.ndarray

The points, shape: (n_pts, n_dims)

Returns

sel_grid: numpy.ndarray of bool

Subset selection of points that are in grid, shape: (n_pts, n_dims)