File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,9 @@ class TOPUPInputSpec(FSLCommandInputSpec):
221
221
5 , usedefault = True ,
222
222
argstr = '--miter=%d' , desc = 'max # of non-linear iterations' )
223
223
reg_lambda = traits .Float (
224
- 1.0 , usedefault = True ,
225
- argstr = '--miter=%0.f' ,
226
- desc = ('lambda weighting value of the '
227
- 'regularisation term' ))
224
+ argstr = '--lambda=%0.f' ,
225
+ desc = ('Weight of regularisation, default '
226
+ 'depending on --ssqlambda and --regmod switches.' ))
228
227
ssqlambda = traits .Enum (
229
228
1 ,
230
229
0 ,
@@ -324,8 +323,7 @@ class TOPUP(FSLCommand):
324
323
--fwhm=8.000000 --imain=b0_b0rev.nii --miter=5 \
325
324
--out=b0_b0rev_base --iout=b0_b0rev_corrected.nii.gz \
326
325
--fout=b0_b0rev_field.nii.gz --jacout=jac --logout=b0_b0rev_topup.log \
327
- --rbmout=xfm --dfout=warpfield --miter=1 --splineorder=3 --subsamp=1 \
328
- --warpres=10.000000'
326
+ --rbmout=xfm --dfout=warpfield --splineorder=3 --subsamp=1 --warpres=10.000000'
329
327
>>> res = topup.run() # doctest: +SKIP
330
328
331
329
"""
Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ def test_TOPUP_inputs():
87
87
requires = ['encoding_direction' ],
88
88
xor = ['encoding_file' ],
89
89
),
90
- reg_lambda = dict (
91
- argstr = '--miter=%0.f' ,
92
- usedefault = True ,
93
- ),
90
+ reg_lambda = dict (argstr = '--lambda=%0.f' , ),
94
91
regmod = dict (argstr = '--regmod=%s' , ),
95
92
regrid = dict (argstr = '--regrid=%d' , ),
96
93
scale = dict (argstr = '--scale=%d' , ),
You can’t perform that action at this time.
0 commit comments