-
iwopy.utils.RegularDiscretizationGrid.get_corner(p, allow_outer=
True
)[source] Get the lower-left grid corner of a point.
Parameters¶
- p: numpy.ndarray
The point, shape: (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 point, shape: (n_dims,)