coordinates.core.OrthogonalCoordinateSystem.order_axes_canonical#

OrthogonalCoordinateSystem.order_axes_canonical(src_axes: Sequence[str]) List[str]#

Reorder a list of axis names into the canonical order of this coordinate system.

Parameters:

src_axes (list of str) – A subset of axis names to reorder.

Returns:

Reordered list of axis names, matching the order in self.axes.

Return type:

list of str

Raises:

ValueError – If any element in src_axes is not present in self.axes.