Forked from
FSL / fslpy
1222 commits behind the upstream repository.
-
Paul McCarthy authored
- CoefficientField can now represent a generic b-spline coefficient field. Cleaned up fnirt.py, other tweaks and comments
Paul McCarthy authored- CoefficientField can now represent a generic b-spline coefficient field. Cleaned up fnirt.py, other tweaks and comments
__init__.py 864 B
#!/usr/bin/env python
#
# __init__.py - Functions for working with linear and non-linear FSL
# transformations.
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
"""This module contains functions for working with linear and non-linear FSL
transformations.
"""
from .affine import ( # noqa
invert,
concat,
veclength,
normalise,
scaleOffsetXform,
compose,
decompose,
rotMatToAffine,
rotMatToAxisAngles,
axisAnglesToRotMat,
axisBounds,
transform,
transformNormal,
rmsdev)
from .flirt import ( # noqa
readFlirt,
writeFlirt,
fromFlirt,
toFlirt,
flirtMatrixToSform,
sformToFlirtMatrix)
from .fnirt import ( # noqa
readFnirt,
toFnirt,
fromFnirt)
from .x5 import ( # noqa
readLinearX5,
writeLinearX5,
readNonLinearX5,
writeNonLinearX5)