pisces.geometry.grids.base.Grid.get_meshgrid#
- Grid.get_meshgrid(axes: Sequence[str] | None = None, indexing: str = 'ij') tuple[unyt_array, ...] [source]#
Return the full meshgrid of coordinates for the specified axes.
- Parameters:
axes (
sequence
ofstr
, 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
ofunyt_array