spatialdata.models.get_spatial_axes

spatialdata.models.get_spatial_axes#

spatialdata.models.get_spatial_axes(axes)#

Get the spatial axes of interest.

Parameters:

axes (tuple[str, ...]) – Should be a subset of [‘x’, ‘y’, ‘z’, ‘c’]

Return type:

tuple[str, ...]

Returns:

: The spatial axes, i.e. the input axes but without ‘c’