-
iwopy.utils.RegularDiscretizationGrid.get_corners(pts, allow_outer=
True
)[source] Get the lower-left grid corners of points.
Parameters¶
- pts: numpy.ndarray
The points space, shape: (n_pts, n_dims)
- allow_outer: bool
Allow outermost point indices, else reduce those to lower-left cell corner
Returns¶
- p0: numpy.ndarray
The lower-left grid corner points, shape: (n_pts, n_dims)