File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
nipype/interfaces/mrtrix3 Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ class FitTensorInputSpec(MRTrix3BaseInputSpec):
3838 'rician' ,
3939 argstr = '-method %s' ,
4040 desc = ('select method used to perform the fitting' ))
41+ reg_term = traits .Float (
42+ 5.e3 , usedefault = True ,
43+ argstr = '-regularisation %f' ,
44+ desc = ('specify the strength of the regularisation term on the '
45+ 'magnitude of the tensor elements (default = 5000). This '
46+ 'only applies to the non-linear methods' ))
4147
4248
4349class FitTensorOutputSpec (TraitedSpec ):
@@ -58,7 +64,8 @@ class FitTensor(MRTrix3Base):
5864 >>> tsr.inputs.in_mask = 'mask.nii.gz'
5965 >>> tsr.inputs.grad_fsl = ('bvecs', 'bvals')
6066 >>> tsr.cmdline # doctest: +ELLIPSIS
61- 'dwi2tensor -fslgrad bvecs bvals -mask mask.nii.gz dwi.mif dti.mif'
67+ 'dwi2tensor -fslgrad bvecs bvals -mask mask.nii.gz \
68+ -regularisation 5000.000000 dwi.mif dti.mif'
6269 >>> tsr.run() # doctest: +SKIP
6370 """
6471
You can’t perform that action at this time.
0 commit comments