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