@@ -72,17 +72,17 @@ class StreamlineTrackInputSpec(CommandLineInputSpec):
72
72
'the base DWI are needed. For SD methods, the SH harmonic coefficients of the FOD are needed.' )
73
73
74
74
seed_file = File (exists = True , argstr = '-seed %s' , mandatory = False , position = 2 , desc = 'seed file' )
75
- seed_spec = traits .List (traits .Int , desc = 'seed specification in voxels and radius (x y z r)' , position = 2 ,
76
- argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'voxels ' )
75
+ seed_spec = traits .List (traits .Float , desc = 'seed specification in mm and radius (x y z r)' , position = 2 ,
76
+ argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'mm ' )
77
77
include_file = File (exists = True , argstr = '-include %s' , mandatory = False , position = 2 , desc = 'inclusion file' )
78
- include_spec = traits .List (traits .Int , desc = 'inclusion specification in voxels and radius (x y z r)' , position = 2 ,
79
- argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'voxels ' )
78
+ include_spec = traits .List (traits .Float , desc = 'inclusion specification in mm and radius (x y z r)' , position = 2 ,
79
+ argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'mm ' )
80
80
exclude_file = File (exists = True , argstr = '-exclude %s' , mandatory = False , position = 2 , desc = 'exclusion file' )
81
- exclude_spec = traits .List (traits .Int , desc = 'exclusion specification in voxels and radius (x y z r)' , position = 2 ,
82
- argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'voxels ' )
81
+ exclude_spec = traits .List (traits .Float , desc = 'exclusion specification in mm and radius (x y z r)' , position = 2 ,
82
+ argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'mm ' )
83
83
mask_file = File (exists = True , argstr = '-exclude %s' , mandatory = False , position = 2 , desc = 'mask file. Only tracks within mask.' )
84
- mask_spec = traits .List (traits .Int , desc = 'Mask specification in voxels and radius (x y z r). Tracks will be terminated when they leave the ROI.' , position = 2 ,
85
- argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'voxels ' )
84
+ mask_spec = traits .List (traits .Float , desc = 'Mask specification in mm and radius (x y z r). Tracks will be terminated when they leave the ROI.' , position = 2 ,
85
+ argstr = '-seed %s' , minlen = 4 , maxlen = 4 , sep = ',' , units = 'mm ' )
86
86
87
87
inputmodel = traits .Enum ('DT_STREAM' , 'SD_PROB' , 'SD_STREAM' ,
88
88
argstr = '%s' , desc = 'input model type' , usedefault = True , position = - 3 )
@@ -183,7 +183,7 @@ def __init__(self, command=None, **inputs):
183
183
return super (DiffusionTensorStreamlineTrack , self ).__init__ (command , ** inputs )
184
184
185
185
class ProbabilisticSphericallyDeconvolutedStreamlineTrackInputSpec (StreamlineTrackInputSpec ):
186
- maximum_number_of_trials = traits .Int (argstr = '-trials %s' , units = 'mm' ,
186
+ maximum_number_of_trials = traits .Int (argstr = '-trials %s' ,
187
187
desc = "Set the maximum number of sampling trials at each point (only used for probabilistic tracking)." )
188
188
189
189
class ProbabilisticSphericallyDeconvolutedStreamlineTrack (StreamlineTrack ):
0 commit comments