Skip to content

Commit 6dabc88

Browse files
committed
Remove 'reg_term'/'regularisation' from dwi2tensor interface
This was removed as part of refactoring in: MRtrix3/mrtrix3@9b886a94289a
1 parent 0ef261c commit 6dabc88

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

nipype/interfaces/mrtrix3/reconst.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ 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'))
4741

4842

4943
class FitTensorOutputSpec(TraitedSpec):
@@ -64,8 +58,7 @@ class FitTensor(MRTrix3Base):
6458
>>> tsr.inputs.in_mask = 'mask.nii.gz'
6559
>>> tsr.inputs.grad_fsl = ('bvecs', 'bvals')
6660
>>> tsr.cmdline # doctest: +ELLIPSIS
67-
'dwi2tensor -fslgrad bvecs bvals -mask mask.nii.gz \
68-
-regularisation 5000.000000 dwi.mif dti.mif'
61+
'dwi2tensor -fslgrad bvecs bvals -mask mask.nii.gz dwi.mif dti.mif'
6962
>>> tsr.run() # doctest: +SKIP
7063
"""
7164

0 commit comments

Comments
 (0)