Skip to content

Commit ffccbc6

Browse files
committed
Add interpolation order parameter
1 parent 6ca791d commit ffccbc6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nipype/interfaces/niftyreg/regutils.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ class RegToolsInputSpec(NiftyRegCommandInputSpec):
295295
desc=desc,
296296
argstr='-smoG %f %f %f')
297297

298+
# Interpolation type
299+
inter_val = traits.Enum(
300+
'NN',
301+
'LIN',
302+
'CUB',
303+
'SINC',
304+
desc='Interpolation order to use to warp the floating image',
305+
argstr='-interp %d')
306+
298307

299308
class RegToolsOutputSpec(TraitedSpec):
300309
""" Output Spec for RegTools. """

0 commit comments

Comments
 (0)