fsl.scripts.resample_image
This module defines the resample_image
script, for resampling
a NIfTI image.
- fsl.scripts.resample_image.intlist(val)[source]
Turn a string of comma-separated ints into a list of ints.
- fsl.scripts.resample_image.floatlist(val)[source]
Turn a string of comma-separated floats into a list of floats.
- fsl.scripts.resample_image.sanitiseList(parser, vals, img, arg)[source]
Make sure that
vals
has the same number of elements asimg
has dimensions. Used to sanitise the--shape
and--dim
options.