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):
313
313
desc = 'Use a two pass alignment strategy for all volumes, searching '
314
314
'for a large rotation+shift and then refining the alignment.' )
315
315
two_blur = traits .Float (
316
- argstr = '-twoblur' ,
316
+ argstr = '-twoblur %f ' ,
317
317
desc = 'Set the blurring radius for the first pass in mm.' )
318
318
two_first = traits .Bool (
319
319
argstr = '-twofirst' ,
@@ -392,6 +392,18 @@ class AllineateInputSpec(AFNICommandInputSpec):
392
392
'EPI slices, and the base as comprising anatomically '
393
393
'\' true\' images. Only phase-encoding direction image '
394
394
'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.' )
395
407
master = File (
396
408
exists = True ,
397
409
argstr = '-master %s' ,
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ def test_Allineate_inputs():
51
51
),
52
52
master = dict (argstr = '-master %s' ,
53
53
),
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
+ ),
54
62
newgrid = dict (argstr = '-newgrid %f' ,
55
63
),
56
64
nmatch = dict (argstr = '-nmatch %d' ,
@@ -97,7 +105,7 @@ def test_Allineate_inputs():
97
105
),
98
106
two_best = dict (argstr = '-twobest %d' ,
99
107
),
100
- two_blur = dict (argstr = '-twoblur' ,
108
+ two_blur = dict (argstr = '-twoblur %f ' ,
101
109
),
102
110
two_first = dict (argstr = '-twofirst' ,
103
111
),
You can’t perform that action at this time.
0 commit comments