Utilities for calculating and applying affine orientations
Functions
apply_orientation(arr, ornt) | Apply transformations implied by ornt to the first |
flip_axis(arr[, axis]) | Flip contents of axis in array arr flip_axis is the same transform as np.flipud, but for any axis. |
io_orientation(affine[, tol]) | Orientation of input axes in terms of output axes for affine |
orientation_affine(ornt, shape) | Affine transform resulting from transforms implied in ornt |
Exceptions