Skip to content

Commit 78c3568

Browse files
committed
add more inputs
1 parent d9b183b commit 78c3568

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class AllineateInputSpec(AFNICommandInputSpec):
144144
desc='Use a two pass alignment strategy for all volumes, searching '
145145
'for a large rotation+shift and then refining the alignment.')
146146
two_blur = traits.Float(
147-
argstr='-twoblur',
147+
argstr='-twoblur %f',
148148
desc='Set the blurring radius for the first pass in mm.')
149149
two_first = traits.Bool(
150150
argstr='-twofirst',
@@ -222,6 +222,18 @@ class AllineateInputSpec(AFNICommandInputSpec):
222222
'EPI slices, and the base as comprising anatomically '
223223
'\'true\' images. Only phase-encoding direction image '
224224
'shearing and scaling will be allowed with this option.')
225+
maxrot = traits.Float(
226+
argstr='-maxrot %f',
227+
desc='Maximum allowed rotation in degrees.')
228+
maxshf = traits.Float(
229+
argstr='-maxshf %f',
230+
desc='Maximum allowed shift in mm.')
231+
maxscl = traits.Float(
232+
argstr='-maxscl %f',
233+
desc='Maximum allowed scaling factor.')
234+
maxshr = traits.Float(
235+
argstr='-maxshr %f',
236+
desc='Maximum allowed shearing factor.')
225237
master = File(
226238
exists=True,
227239
argstr='-master %s',

0 commit comments

Comments
 (0)