pisces.geometry.grids.core.GenericGrid.get_meshgrid#

GenericGrid.get_meshgrid(axes: Sequence[str] | None = None, indexing: str = 'ij') tuple[unyt_array, ...]#

Return the full meshgrid of coordinates for the specified axes.

Parameters:
  • axes (sequence of str, optional) – The axes to include in the meshgrid. If not specified, all active axes are used.

  • indexing ({"ij", "xy"}, default "ij") – Indexing convention for meshgrid construction.

Returns:

A tuple of N-dimensional arrays forming the full coordinate meshgrid.

Return type:

tuple of unyt_array