File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ class AllineateInputSpec(AFNICommandInputSpec):
313313 desc = 'Use a two pass alignment strategy for all volumes, searching '
314314 'for a large rotation+shift and then refining the alignment.' )
315315 two_blur = traits .Float (
316- argstr = '-twoblur' ,
316+ argstr = '-twoblur %f ' ,
317317 desc = 'Set the blurring radius for the first pass in mm.' )
318318 two_first = traits .Bool (
319319 argstr = '-twofirst' ,
@@ -392,6 +392,18 @@ class AllineateInputSpec(AFNICommandInputSpec):
392392 'EPI slices, and the base as comprising anatomically '
393393 '\' true\' images. Only phase-encoding direction image '
394394 'shearing and scaling will be allowed with this option.' )
395+ maxrot = traits .Float (
396+ argstr = '-maxrot %f' ,
397+ desc = 'Maximum allowed rotation in degrees.' )
398+ maxshf = traits .Float (
399+ argstr = '-maxshf %f' ,
400+ desc = 'Maximum allowed shift in mm.' )
401+ maxscl = traits .Float (
402+ argstr = '-maxscl %f' ,
403+ desc = 'Maximum allowed scaling factor.' )
404+ maxshr = traits .Float (
405+ argstr = '-maxshr %f' ,
406+ desc = 'Maximum allowed shearing factor.' )
395407 master = File (
396408 exists = True ,
397409 argstr = '-master %s' ,
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ def test_Allineate_inputs():
5151 ),
5252 master = dict (argstr = '-master %s' ,
5353 ),
54+ maxrot = dict (argstr = '-maxrot %f' ,
55+ ),
56+ maxscl = dict (argstr = '-maxscl %f' ,
57+ ),
58+ maxshf = dict (argstr = '-maxshf %f' ,
59+ ),
60+ maxshr = dict (argstr = '-maxshr %f' ,
61+ ),
5462 newgrid = dict (argstr = '-newgrid %f' ,
5563 ),
5664 nmatch = dict (argstr = '-nmatch %d' ,
@@ -97,7 +105,7 @@ def test_Allineate_inputs():
97105 ),
98106 two_best = dict (argstr = '-twobest %d' ,
99107 ),
100- two_blur = dict (argstr = '-twoblur' ,
108+ two_blur = dict (argstr = '-twoblur %f ' ,
101109 ),
102110 two_first = dict (argstr = '-twofirst' ,
103111 ),
You can’t perform that action at this time.
0 commit comments