coordinates.mixins.core.CoordinateSystemAxesMixin.axes_complement#
- CoordinateSystemAxesMixin.axes_complement(axes: Sequence[str]) List[str] [source]#
Return all axes in the coordinate system that are not present in axes.
- Parameters:
- Returns:
Canonically ordered axes not included in axes.
- Return type:
Examples
>>> from pymetric.coordinates import SphericalCoordinateSystem >>> cs = SphericalCoordinateSystem() >>> cs.axes ['r', 'theta', 'phi'] >>> cs.axes_complement(["theta"]) ['r', 'phi']