NAME

enwtsum - sum up weights of rays with the same energy


PARAMETERS

enwtsum uses an IRAF-compatible parameter interface.

input (file)

The input bpipe format ray stream. If it is the string stdin, the standard input stream is used.

output (file)

The output bpipe format ray stream. If it is the string stdout, the standard output stream is used.

logfile (file)

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.

help (boolean)

Print out a simple help message and exit.

version (boolean)

Print out rdbplt's version and exit.

debug (list)

A list of debug flags. None are presently defined.


DESCRIPTION

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 & LICENSE

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


AUTHOR

Diab Jerius <djerius@cfa.harvard.edu>