spatialdata.models.get_axes_names

Contents

spatialdata.models.get_axes_names#

spatialdata.models.get_axes_names(e)#

Get the dimensions of a SpatialElement.

Parameters:

e (Union[DataArray, DataTree, GeoDataFrame, DataFrame]) – SpatialElement

Return type:

tuple[str, ...]

Returns:

: Dimensions of the SpatialElement (e.g. (“z”, “y”, “x”))