@@ -692,12 +692,11 @@ class MRResizeInputSpec(MRTrix3BaseInputSpec):
692
692
argstr = '-size %d,%d,%d' ,
693
693
mandatory = True ,
694
694
desc = 'define the new image size for the output image. This should be '
695
- 'specified as a comma-separated list.' ,
696
695
xor = ['voxel_size' , 'scale_factor' ],
697
696
)
698
697
voxel_size = traits .Tuple (
699
698
(traits .Float , traits .Float , traits .Float ),
700
- argstr = '-voxel %d,%d,%d ' ,
699
+ argstr = '-voxel %g,%g,%g ' ,
701
700
mandatory = True ,
702
701
desc = 'define the new voxel size for the output image. This can be '
703
702
'specified either as a single value to be used for all '
@@ -707,15 +706,15 @@ class MRResizeInputSpec(MRTrix3BaseInputSpec):
707
706
)
708
707
scale_factor = traits .Tuple (
709
708
(traits .Float , traits .Float , traits .Float ),
710
- argstr = '-scale %d,%d,%d ' ,
709
+ argstr = '-scale %g,%g,%g ' ,
711
710
mandatory = True ,
712
711
desc = 'scale the image resolution by the supplied factor. This can be '
713
712
'specified either as a single value to be used for all '
714
713
'dimensions, or as a comma-separated list of scale factors for '
715
714
'each dimension.' ,
716
715
xor = ['image_size' , 'voxel_size' ],
717
716
)
718
- interp = traits .Enum (
717
+ interpolation = traits .Enum (
719
718
'cubic' ,
720
719
'nearest' ,
721
720
'linear' ,
@@ -746,6 +745,7 @@ class MRResize(MRTrix3Base):
746
745
automatically applied using Gaussian smoothing.
747
746
For more information, see
748
747
<https://mrtrix.readthedocs.io/en/latest/reference/commands/mrresize.html>
748
+
749
749
Example
750
750
-------
751
751
>>> import nipype.interfaces.mrtrix3 as mrt
0 commit comments