NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.loadsave.save

Next topic

nibabel.orientations.aff2axcodes

Reggie -- the one

nibabel.orientationsΒΆ

Utilities for calculating and applying affine orientations

Functions

aff2axcodes(aff[, labels, tol]) axis direction codes for affine aff
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.
inv_ornt_aff(ornt, shape) Affine transform reversing transforms implied in ornt
io_orientation(affine[, tol]) Orientation of input axes in terms of output axes for affine
ornt2axcodes(ornt[, labels]) Convert orientation ornt to labels for axis directions

Exceptions