@@ -199,27 +199,24 @@ class TOPUPInputSpec(FSLCommandInputSpec):
199199 # TODO: the following traits admit values separated by commas, one value
200200 # per registration level inside topup.
201201 warp_res = traits .Float (
202- 10.0 , usedefault = True ,
203202 argstr = '--warpres=%f' ,
204203 desc = ('(approximate) resolution (in mm) of warp '
205204 'basis for the different sub-sampling levels'
206- '.' ))
207- subsamp = traits .Int (1 , usedefault = True ,
208- argstr = '--subsamp=%d' , desc = 'sub-sampling scheme' )
205+ '(default in FSL 10) .' ))
206+ subsamp = traits .Int (argstr = '--subsamp=%d' ,
207+ desc = 'sub-sampling scheme (default in FSL 1) ' )
209208 fwhm = traits .Float (
210- 8.0 ,
211- usedefault = True ,
212209 argstr = '--fwhm=%f' ,
213- desc = 'FWHM (in mm) of gaussian smoothing kernel' )
210+ desc = 'FWHM (in mm) of gaussian smoothing kernel (default in FSL 8) ' )
214211 config = traits .String (
215212 'b02b0.cnf' ,
216213 argstr = '--config=%s' ,
217214 usedefault = True ,
218215 desc = ('Name of config file specifying command line '
219216 'arguments' ))
220217 max_iter = traits .Int (
221- 5 , usedefault = True ,
222- argstr = '--miter=%d' , desc = 'max # of non-linear iterations' )
218+ argstr = '--miter=%d' ,
219+ desc = 'max # of non-linear iterations (default in FSL 5) ' )
223220 reg_lambda = traits .Float (
224221 argstr = '--lambda=%0.f' ,
225222 desc = ('Weight of regularisation, default '
@@ -258,10 +255,9 @@ class TOPUPInputSpec(FSLCommandInputSpec):
258255 desc = ('Minimisation method 0=Levenberg-Marquardt, '
259256 '1=Scaled Conjugate Gradient' ))
260257 splineorder = traits .Int (
261- 3 , usedefault = True ,
262258 argstr = '--splineorder=%d' ,
263259 desc = ('order of spline, 2->Qadratic spline, '
264- '3->Cubic spline' ))
260+ '3->Cubic spline (default in FSL 3) ' ))
265261 numprec = traits .Enum (
266262 'double' ,
267263 'float' ,
@@ -320,10 +316,9 @@ class TOPUP(FSLCommand):
320316 >>> topup.inputs.output_type = "NIFTI_GZ"
321317 >>> topup.cmdline # doctest: +ELLIPSIS
322318 'topup --config=b02b0.cnf --datain=topup_encoding.txt \
323- --fwhm=8.000000 --imain=b0_b0rev.nii --miter=5 \
324- --out=b0_b0rev_base --iout=b0_b0rev_corrected.nii.gz \
319+ --imain=b0_b0rev.nii --out=b0_b0rev_base --iout=b0_b0rev_corrected.nii.gz \
325320 --fout=b0_b0rev_field.nii.gz --jacout=jac --logout=b0_b0rev_topup.log \
326- --rbmout=xfm --dfout=warpfield --splineorder=3 --subsamp=1 --warpres=10.000000 '
321+ --rbmout=xfm --dfout=warpfield'
327322 >>> res = topup.run() # doctest: +SKIP
328323
329324 """
0 commit comments