coordinates.mixins.core.CoordinateSystemAxesMixin.order_axes#
- static CoordinateSystemAxesMixin.order_axes(src_axes: Sequence[str], dst_axes: Sequence[str]) List[str] [source]#
Reorder src_axes into the order defined by dst_axes.
- Parameters:
- Returns:
Reordered version of src_axes to match the order in dst_axes.
- Return type:
- Raises:
ValueError – If any element in src_axes is not present in dst_axes.