Grid2DSparse§

class typed_lisa_toolkit.types.misc.Grid2DSparse[Axis0: Axis, Axis1: Axis][source]§

Class for a sparse 2D grid.

property axis0: Axis0§

The first axis of the grid.

property axis1: Axis1§

The second axis of the grid.

indices: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]]§

The indices of the non-empty points in the grid, represented as an array of shape (n_sparse_points, 2) where each row is a pair of indices corresponding to the positions in axis0 and axis1.