coordinates.coordinate_systems.SphericalCoordinateSystem.get_canonical_axes_permutation#

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

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