coordinates.mixins.core.CoordinateSystemAxesMixin.in_axes_order#
- static CoordinateSystemAxesMixin.in_axes_order(iterable: Sequence[Any], src_axes: Sequence[str], dst_axes: Sequence[str]) List[Any] [source]#
Reorder a sequence of values from src_axes order to dst_axes order.
- Parameters:
- Returns:
Reordered iterable in the dst_axes order.
- Return type:
- Raises:
ValueError – If the lengths don’t match or any axes are unknown.