@@ -199,27 +199,24 @@ class TOPUPInputSpec(FSLCommandInputSpec):
199
199
# TODO: the following traits admit values separated by commas, one value
200
200
# per registration level inside topup.
201
201
warp_res = traits .Float (
202
- 10.0 , usedefault = True ,
203
202
argstr = '--warpres=%f' ,
204
203
desc = ('(approximate) resolution (in mm) of warp '
205
204
'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) ' )
209
208
fwhm = traits .Float (
210
- 8.0 ,
211
- usedefault = True ,
212
209
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) ' )
214
211
config = traits .String (
215
212
'b02b0.cnf' ,
216
213
argstr = '--config=%s' ,
217
214
usedefault = True ,
218
215
desc = ('Name of config file specifying command line '
219
216
'arguments' ))
220
217
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) ' )
223
220
reg_lambda = traits .Float (
224
221
argstr = '--lambda=%0.f' ,
225
222
desc = ('Weight of regularisation, default '
@@ -258,10 +255,9 @@ class TOPUPInputSpec(FSLCommandInputSpec):
258
255
desc = ('Minimisation method 0=Levenberg-Marquardt, '
259
256
'1=Scaled Conjugate Gradient' ))
260
257
splineorder = traits .Int (
261
- 3 , usedefault = True ,
262
258
argstr = '--splineorder=%d' ,
263
259
desc = ('order of spline, 2->Qadratic spline, '
264
- '3->Cubic spline' ))
260
+ '3->Cubic spline (default in FSL 3) ' ))
265
261
numprec = traits .Enum (
266
262
'double' ,
267
263
'float' ,
@@ -320,10 +316,9 @@ class TOPUP(FSLCommand):
320
316
>>> topup.inputs.output_type = "NIFTI_GZ"
321
317
>>> topup.cmdline # doctest: +ELLIPSIS
322
318
'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 \
325
320
--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'
327
322
>>> res = topup.run() # doctest: +SKIP
328
323
329
324
"""
0 commit comments