enwtsum - sum up weights of rays with the same energy
enwtsum uses an IRAF-compatible parameter interface.
The input bpipe format ray stream. If it is the string stdin
,
the standard input stream is used.
The output bpipe format ray stream. If it is the string stdout
,
the standard output stream is used.
The output stream to which the weights are written (as an rdb file)
If it is the string stdout
, the standard output stream is used.
If it is the string stderr
, the standard error stream is used.
Print out a simple help message and exit.
Print out rdbplt's version and exit.
A list of debug flags. None are presently defined.
enwtsum generates summed weights for each discrete energy found in the input bpipe ray stream. It copies the input ray stream untouched to the output bpipe ray stream. Because enwtsum tracks every value of energy that is input (it does not bin on energies) it is useful only when it is known that a small number of energies will be present.
The resultant sums are written to the specified log file as an rdb table, with the columns
energy - the ray energy n - the number of rays with this energy wt - the sum of the weights of the rays with this energy
Copyright 2007 Smithsonian Astrophysical Observatory
This software is released under the GNU General Public License. You may find a copy at
http://www.gnu.org/licenses
Diab Jerius <djerius@cfa.harvard.edu>