softmean


Purpose:

This program will average together a series of files. For a given voxel location, only non-zero measurements are averaged. Consequently, any voxel that is non-zero for any subject will allow an estimate of the mean.


Usage:

softmean output overwrite?(y/n) scaling-suffix input-file1 [...input-fileN]

where the following definitions apply:
output
the name of the output file
overwrite?(y/n)
'y' grants permission to overwrite output
scaling-suffix
the suffix of files that store scaling factors. Each input file may have a scaling factor file associated with it. These files should contain a single ASCII number that represents a multiplicative factor for converting voxel values into real world values (i.e., its units should be real world units/voxel unit). All scaling files must have the same units.
An equivalent scaling file will be created for your output file and will have the same units as your input rescaling files.
If all of your input files are scaled identically, you can use "null" as the scaling suffix and a value of 1.0 will be automatically assigned to all input files. Note that the output may still be rescaled.
input-file1
the name of the first input file
...input-fileN
the names of any additional input files

Examples:

softmean mri_mean y null mr1 mr2 mr3 mr4 mr5 mr6 softmean pet_mean y .max pet1 pet2 pet3 pet4 pet5 pet6

Comments:


Error messages: (alphabetical by case)

See also: Generic error messages
Modified: December 18, 2001
© 2001   Roger P. Woods, M.D.(rwoods@ucla.edu)