pisces.geometry.grids.core.GenericGrid.get_axis_array#

GenericGrid.get_axis_array(axis: int | str) unyt_array#

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