rdbaverage - average a column in an rdbtable, with optional weighting from another
column
rdbaverage reads an rdb file and computes the average of a column, optionally using
weights. The resultant value is written to the UNIX standard output stream.
rdbaverage uses an IRAF-style parameter interface. A template parameter file is in /proj/axaf/simul/lib/uparm/rdbaverage.par.
Options may be abbreviated.
- input filename
-
The name of the input /rdb table file. If it is the string
stdin,
rdbaverage reads from the UNIX standard input stream.
- weight column name
-
The name of the column containing the weight factors. If no weighting is
desired, set this to the string
none.
- quantity column name
-
The name of the column to be averaged.
- help boolean
-
Print this message.
- version boolean
-
Print the version and exit.
Richard J. Edgar ( redgar@cfa.harvard.edu )
$Revision: 1.4 $ $Date: 1998/04/06 17:56:37 $