iwopy.utils.RegularDiscretizationGrid.get_cells(pts)[source] Get the grid cells that contain the given points, one cell per point. Parameters¶ pts: numpy.ndarrayThe points, shape: (n_pts, n_dims) Returns¶ cells: numpy.ndarrayThe min and max values of each dimension. Shape: (n_pts, n_dims, 2)