get_axis

method of dascore.core.coordmanager.CoordManager source

get_axis(
    self: Self ,
    dim: str ,
)-> ‘int’

Get the axis corresponding to a Patch dimension. Raise error if not found.

Parameters

Parameter Description
self The Patch object.
dim The dimension name.