@@ -608,6 +608,9 @@ class Normalize12InputSpec(SPMCommandInputSpec):
608
608
write_interp = traits .Range (low = 0 , high = 7 , field = 'woptions.interp' ,
609
609
desc = ('degree of b-spline used for '
610
610
'interpolation' ))
611
+ out_prefix = traits .String ('w' , field = 'woptions.prefix' , usedefault = True ,
612
+ desc = 'Normalized output prefix' )
613
+
611
614
612
615
613
616
class Normalize12OutputSpec (TraitedSpec ):
@@ -909,9 +912,15 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
909
912
affine_regularization = traits .Enum ('mni' , 'eastern' , 'subj' , 'none' ,
910
913
field = 'warp.affreg' ,
911
914
desc = 'mni, eastern, subj, none ' )
912
- warping_regularization = traits .Float (field = 'warp.reg' ,
913
- desc = ('Aproximate distance between '
914
- 'sampling points.' ))
915
+ warping_regularization = traits .Either (traits .List (traits .Float (),
916
+ minlen = 5 , maxlen = 5 ),
917
+ traits .Float (),
918
+ field = 'warp.reg' ,
919
+ desc = ('Warping regularization '
920
+ 'parameter(s). Accepts float '
921
+ 'or list of floats (the '
922
+ 'latter is required by '
923
+ 'SPM12)' ))
915
924
sampling_distance = traits .Float (field = 'warp.samp' ,
916
925
desc = ('Sampling distance on data for '
917
926
'parameter estimation' ))
0 commit comments