iwopy.utils.RegularDiscretizationGrid(origin, deltas, n_steps, interpolation=None, tol=None, digits=12)[source]

Constructor

ParametersΒΆ

origin: array-like

The origin point, len: n_dims

deltas: array-like

The step sizes, len: n_dims.

n_steps: array-like

The number of steps, len: n_dims. Use INT_INF for infinite.

interpolation: str

The interpolation method: None, nearest, linear

tol: list of float, optional

The tolerances for grid bounds, default is 0, shape: (n_dims,)

digits: int

The grid point precision