Reflects axis index about center of number of axes.
This is used to convert between array axes in numpy order and pixel axes in WCS order.
Works in both directions.
- Parameters
-
- Returns
reflected_axis – The axis number(s) after reflection.
- Return type
numpy.ndarray
of int