Package that provides tools for brain Lithium MRI pre-processing.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
-
limri.regtools.
applywarp
(in_file, ref_file, out_file, warp_file, pre_affine_file=None, post_affine_file=None, interp='trilinear', verbose=0)[source]¶ Apply SPM deformation field.
- Parameters
in_file : str
filename of input image (to be warped).
ref_file : str
filename for reference image.
out_file : str
filename for output (warped) image.
warp_file : str
filename for warp/coefficient (volume).
pre_affine_file : str, default None
filename for pre-transform (affine matrix).
post_affine_file : str, default None
filename for post-transform (affine matrix).
interp : str, default ‘trilinear’
interpolation method {nn,trilinear,sinc,spline}
verbose : int, default 0
the verbosity level.
Follow us