@@ -724,9 +724,9 @@ class FourierInputSpec(AFNICommandInputSpec):
724
724
position = 0 ,
725
725
mandatory = True )
726
726
highpass = traits .Float (desc = 'highpass' ,
727
- argstr = '-highpass %f' ,
728
- position = 1 ,
729
- mandatory = True )
727
+ argstr = '-highpass %f' ,
728
+ position = 1 ,
729
+ mandatory = True )
730
730
731
731
732
732
class Fourier (AFNICommand ):
@@ -815,8 +815,8 @@ class BandpassInputSpec(AFNICommandInputSpec):
815
815
argstr = '-nfft %d' ,
816
816
desc = "set the FFT length [must be a legal value]" )
817
817
normalize = traits .Bool (
818
- argstr = '-norm' ,
819
- desc = """Make all output time series have L2 norm = 1
818
+ argstr = '-norm' ,
819
+ desc = """Make all output time series have L2 norm = 1
820
820
++ i.e., sum of squares = 1""" )
821
821
automask = traits .Bool (
822
822
argstr = '-automask' ,
@@ -866,14 +866,14 @@ class Bandpass(AFNICommand):
866
866
867
867
class ZCutUpInputSpec (AFNICommandInputSpec ):
868
868
in_file = File (desc = 'input file to 3dZcutup' ,
869
- argstr = '%s' ,
870
- position = - 1 ,
871
- mandatory = True ,
872
- exists = True )
869
+ argstr = '%s' ,
870
+ position = - 1 ,
871
+ mandatory = True ,
872
+ exists = True )
873
873
out_file = File ("%s_zcupup" , desc = 'output image file name' ,
874
- argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
874
+ argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
875
875
keep = traits .Str (desc = 'slice range to keep in output' ,
876
- argstr = '-keep %s' )
876
+ argstr = '-keep %s' )
877
877
878
878
879
879
class ZCutUp (AFNICommand ):
@@ -901,10 +901,10 @@ class ZCutUp(AFNICommand):
901
901
902
902
class AllineateInputSpec (AFNICommandInputSpec ):
903
903
in_file = File (desc = 'input file to 3dAllineate' ,
904
- argstr = '-source %s' ,
905
- position = - 1 ,
906
- mandatory = True ,
907
- exists = True )
904
+ argstr = '-source %s' ,
905
+ position = - 1 ,
906
+ mandatory = True ,
907
+ exists = True )
908
908
reference = File (
909
909
exists = True ,
910
910
argstr = '-base %s' ,
@@ -930,8 +930,8 @@ class AllineateInputSpec(AFNICommandInputSpec):
930
930
argstr = '-1Dmatrix_save %s' ,
931
931
desc = 'Save the transformation matrix for each volume.' )
932
932
in_matrix = File (desc = 'matrix to align input file' ,
933
- argstr = '-1Dmatrix_apply %s' ,
934
- position = - 3 )
933
+ argstr = '-1Dmatrix_apply %s' ,
934
+ position = - 3 )
935
935
936
936
_cost_funcs = [
937
937
'leastsq' , 'ls' ,
@@ -1075,11 +1075,11 @@ class AllineateInputSpec(AFNICommandInputSpec):
1075
1075
1076
1076
# Non-linear experimental
1077
1077
_nwarp_types = ['bilinear' ,
1078
- 'cubic' , 'quintic' , 'heptic' , 'nonic' ,
1079
- 'poly3' , 'poly5' , 'poly7' , 'poly9' ] # same non-hellenistic
1078
+ 'cubic' , 'quintic' , 'heptic' , 'nonic' ,
1079
+ 'poly3' , 'poly5' , 'poly7' , 'poly9' ] # same non-hellenistic
1080
1080
nwarp = traits .Enum (
1081
1081
* _nwarp_types , argstr = '-nwarp %s' ,
1082
- desc = 'Experimental nonlinear warping: bilinear or legendre poly.' )
1082
+ desc = 'Experimental nonlinear warping: bilinear or legendre poly.' )
1083
1083
_dirs = ['X' , 'Y' , 'Z' , 'I' , 'J' , 'K' ]
1084
1084
nwarp_fixmot = traits .List (
1085
1085
traits .Enum (* _dirs ),
@@ -1128,7 +1128,7 @@ def _list_outputs(self):
1128
1128
outputs = self .output_spec ().get ()
1129
1129
if not isdefined (self .inputs .out_file ):
1130
1130
outputs ['out_file' ] = self ._gen_fname (self .inputs .in_file ,
1131
- suffix = self .inputs .suffix )
1131
+ suffix = self .inputs .suffix )
1132
1132
else :
1133
1133
outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
1134
1134
return outputs
@@ -1140,19 +1140,19 @@ def _gen_filename(self, name):
1140
1140
1141
1141
class MaskaveInputSpec (AFNICommandInputSpec ):
1142
1142
in_file = File (desc = 'input file to 3dmaskave' ,
1143
- argstr = '%s' ,
1144
- position = - 2 ,
1145
- mandatory = True ,
1146
- exists = True )
1143
+ argstr = '%s' ,
1144
+ position = - 2 ,
1145
+ mandatory = True ,
1146
+ exists = True )
1147
1147
out_file = File ("%s_maskave.1D" , desc = 'output image file name' ,
1148
- argstr = "> %s" , name_source = "in_file" , usedefault = True , position = - 1 )
1148
+ argstr = "> %s" , name_source = "in_file" , usedefault = True , position = - 1 )
1149
1149
mask = File (desc = 'matrix to align input file' ,
1150
- argstr = '-mask %s' ,
1151
- position = 1 ,
1152
- exists = True )
1150
+ argstr = '-mask %s' ,
1151
+ position = 1 ,
1152
+ exists = True )
1153
1153
quiet = traits .Bool (desc = 'matrix to align input file' ,
1154
- argstr = '-quiet' ,
1155
- position = 2 )
1154
+ argstr = '-quiet' ,
1155
+ position = 2 )
1156
1156
1157
1157
1158
1158
class Maskave (AFNICommand ):
@@ -1183,12 +1183,12 @@ class Maskave(AFNICommand):
1183
1183
1184
1184
class SkullStripInputSpec (AFNICommandInputSpec ):
1185
1185
in_file = File (desc = 'input file to 3dSkullStrip' ,
1186
- argstr = '-input %s' ,
1187
- position = 1 ,
1188
- mandatory = True ,
1189
- exists = True )
1186
+ argstr = '-input %s' ,
1187
+ position = 1 ,
1188
+ mandatory = True ,
1189
+ exists = True )
1190
1190
out_file = File ("%s_skullstrip" , desc = 'output image file name' ,
1191
- argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
1191
+ argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
1192
1192
1193
1193
1194
1194
class SkullStrip (AFNICommand ):
@@ -1221,7 +1221,7 @@ class TCatInputSpec(AFNICommandInputSpec):
1221
1221
position = - 1 ,
1222
1222
mandatory = True )
1223
1223
out_file = File ("%s_tcat" , desc = 'output image file name' ,
1224
- argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
1224
+ argstr = '-prefix %s' , name_source = "in_file" , usedefault = True )
1225
1225
rlt = traits .Str (desc = 'options' , argstr = '-rlt%s' , position = 1 )
1226
1226
1227
1227
@@ -1251,21 +1251,21 @@ class TCat(AFNICommand):
1251
1251
1252
1252
class FimInputSpec (AFNICommandInputSpec ):
1253
1253
in_file = File (desc = 'input file to 3dfim+' ,
1254
- argstr = ' -input %s' ,
1255
- position = 1 ,
1256
- mandatory = True ,
1257
- exists = True )
1254
+ argstr = ' -input %s' ,
1255
+ position = 1 ,
1256
+ mandatory = True ,
1257
+ exists = True )
1258
1258
out_file = File ("%s_fim" , desc = 'output image file name' ,
1259
- argstr = '-bucket %s' , name_source = "in_file" , usedefault = True )
1259
+ argstr = '-bucket %s' , name_source = "in_file" , usedefault = True )
1260
1260
ideal_file = File (desc = 'ideal time series file name' ,
1261
- argstr = '-ideal_file %s' ,
1262
- position = 2 ,
1263
- mandatory = True ,
1264
- exists = True )
1261
+ argstr = '-ideal_file %s' ,
1262
+ position = 2 ,
1263
+ mandatory = True ,
1264
+ exists = True )
1265
1265
fim_thr = traits .Float (desc = 'fim internal mask threshold value' ,
1266
- argstr = '-fim_thr %f' , position = 3 )
1266
+ argstr = '-fim_thr %f' , position = 3 )
1267
1267
out = traits .Str (desc = 'Flag to output the specified parameter' ,
1268
- argstr = '-out %s' , position = 4 )
1268
+ argstr = '-out %s' , position = 4 )
1269
1269
1270
1270
1271
1271
class Fim (AFNICommand ):
@@ -1297,12 +1297,12 @@ class Fim(AFNICommand):
1297
1297
1298
1298
class TCorrelateInputSpec (AFNIBaseCommandInputSpec ):
1299
1299
xset = File (desc = 'input xset' ,
1300
- argstr = ' %s' ,
1301
- position = - 2 ,
1302
- mandatory = True ,
1303
- exists = True )
1300
+ argstr = ' %s' ,
1301
+ position = - 2 ,
1302
+ mandatory = True ,
1303
+ exists = True )
1304
1304
yset = File (desc = 'input yset' ,
1305
- argstr = ' %s' ,
1305
+ argstr = ' %s' ,
1306
1306
position = - 1 ,
1307
1307
mandatory = True ,
1308
1308
exists = True )
0 commit comments