pisces.geometry.grids.base.Grid.get_index_meshgrid#

Grid.get_index_meshgrid(indexing: str = 'ij') tuple[ndarray, ...][source]#

Return a meshgrid of index values for each active axis.

Parameters:

indexing ({"ij", "xy"}, default "ij") – Indexing convention to use in constructing the meshgrid.

Returns:

A tuple of N-dimensional arrays, each containing the index values along one axis of the grid.

Return type:

tuple of np.ndarray