@@ -1239,10 +1239,8 @@ class UnifizeInputSpec(AFNICommandInputSpec):
1239
1239
exists = True ,
1240
1240
copyfile = False )
1241
1241
out_file = File (
1242
- name_template = '%s_unif' ,
1243
1242
desc = 'output image file name' ,
1244
- argstr = '-prefix %s' ,
1245
- name_source = 'in_file' )
1243
+ argstr = '-prefix %s' )
1246
1244
t2 = traits .Bool (
1247
1245
desc = 'Treat the input as if it were T2-weighted, rather than '
1248
1246
'T1-weighted. This processing is done simply by inverting '
@@ -1261,8 +1259,7 @@ class UnifizeInputSpec(AFNICommandInputSpec):
1261
1259
'proportionally if the dataset voxel size differs significantly '
1262
1260
'from 1 mm.' ,
1263
1261
argstr = '-Urad %s' )
1264
- ssave = File (
1265
- name_template = '%s_scale' ,
1262
+ scale_file = File (
1266
1263
desc = 'output file name to save the scale factor used at each voxel ' ,
1267
1264
argstr = '-ssave %s' )
1268
1265
no_duplo = traits .Bool (
@@ -1282,8 +1279,8 @@ class UnifizeInputSpec(AFNICommandInputSpec):
1282
1279
1283
1280
1284
1281
class UnifizeOutputSpec (TraitedSpec ):
1285
- out_file = File (desc = 'unifized file' ,
1286
- exists = True )
1282
+ scale_file = File (desc = 'scale factor file' )
1283
+ out_file = File ( desc = 'unifized file' , exists = True )
1287
1284
1288
1285
1289
1286
class Unifize (AFNICommand ):
@@ -1307,11 +1304,6 @@ class Unifize(AFNICommand):
1307
1304
* Want to correct EPI datasets for nonuniformity?
1308
1305
You can try the new and experimental [Mar 2017] '-EPI' option.
1309
1306
1310
- * Method: Obi-Wan's personal variant of Ziad's sneaky trick.
1311
- (If you want to know what his trick is, you'll have to ask him, or
1312
- read Obi-Wan's source code [which is a world of ecstasy and exaltation],
1313
- or just read all the way to the end of this help output.)
1314
-
1315
1307
* The principal motive for this program is for use in an image
1316
1308
registration script, and it may or may not be useful otherwise.
1317
1309
@@ -1320,7 +1312,7 @@ class Unifize(AFNICommand):
1320
1312
(In other words, we do not recommend the use of 3dUniformize.)
1321
1313
1322
1314
For complete details, see the `3dUnifize Documentation.
1323
- <https://afni.nimh.nih.gov/pub../pub /dist/doc/program_help/3dUnifize.html>`_
1315
+ <https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dUnifize.html>`_
1324
1316
1325
1317
Examples
1326
1318
========
0 commit comments