@@ -2865,21 +2865,48 @@ class TSmoothInputSpec(AFNICommandInputSpec):
2865
2865
name_template = '%s_smooth' ,
2866
2866
desc = 'output file from 3dTSmooth' ,
2867
2867
argstr = '-prefix %s' ,
2868
- position = 1 ,
2869
2868
name_source = 'in_file' ,
2870
2869
genfile = True )
2870
+ datum = traits .Str (
2871
+ desc = 'Sets the data type of the output dataset' ,
2872
+ argstr = '-datum %s' )
2873
+ lin = traits .Bool (
2874
+ desc = '3 point linear filter: 0.15*a + 0.70*b + 0.15*c'
2875
+ '[This is the default smoother]' ,
2876
+ argstr = '-lin' )
2877
+ med = traits .Bool (
2878
+ desc = '3 point median filter: median(a,b,c)' ,
2879
+ argstr = '-med' )
2880
+ osf = traits .Bool (
2881
+ desc = '3 point order statistics filter:'
2882
+ '0.15*min(a,b,c) + 0.70*median(a,b,c) + 0.15*max(a,b,c)' ,
2883
+ argstr = '-osf' )
2884
+ lin3 = traits .Int (
2885
+ desc = '3 point linear filter: 0.5*(1-m)*a + m*b + 0.5*(1-m)*c'
2886
+ "Here, 'm' is a number strictly between 0 and 1." ,
2887
+ argstr = '-3lin %d' )
2888
+ hamming = traits .Int (
2889
+ argstr = '-hamming %d' ,
2890
+ desc = 'Use N point Hamming windows.'
2891
+ '(N must be odd and bigger than 1.)' )
2892
+ blackman = traits .Int (
2893
+ argstr = '-blackman %d' ,
2894
+ desc = 'Use N point Blackman windows.'
2895
+ '(N must be odd and bigger than 1.)' )
2896
+ custom = File (
2897
+ argstr = '-custom %s' ,
2898
+ desc = 'odd # of coefficients must be in a single column in ASCII file' )
2871
2899
adaptive = traits .Int (
2872
- desc = 'adaptive' ,
2873
2900
argstr = '-adaptive %d' ,
2874
- position = - 2 ,
2875
- mandatory = False )
2901
+ desc = 'use adaptive mean filtering of width N '
2902
+ '(where N must be odd and bigger than 3).' )
2876
2903
2877
2904
2878
2905
class TSmooth (AFNICommand ):
2879
2906
"""Smooths each voxel time series in a 3D+time dataset and produces
2880
2907
as output a new 3D+time dataset (e.g., lowpass filter in time).
2881
2908
2882
- For complete details, see the `3dBandpass Documentation.
2909
+ For complete details, see the `3dTsmooth Documentation.
2883
2910
<https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dTSmooth.html>`_
2884
2911
2885
2912
Examples
0 commit comments