coordinates.mixins.core.CoordinateSystemAxesMixin.get_canonical_axes_permutation#

CoordinateSystemAxesMixin.get_canonical_axes_permutation(axes: Sequence[str]) List[int][source]#

Compute the permutation needed to reorder axes into the canonical order defined by the coordinate system.

Parameters:

axes (list of str) – A list of axis names to permute.

Returns:

Indices describing how to reorder axes to match the canonical order (self.axes).

Return type:

list of int