pisces.geometry.grids.base.Grid.get_axis_array#

Grid.get_axis_array(axis: int | str) unyt_array[source]#

Return the full coordinate array for a single axis.

Parameters:

axis (int or str) – The index or name of the axis.

Returns:

1D array of coordinate values for the entire axis.

Return type:

unyt_array