sum-pha


NAME

sum-pha - sum pha files


SYNTAX

sum-pha [options] files


OPTIONS

Options may be abbreviated

--help
print a help message and exit.

--version
Print version information and exit.

.


DESCRIPTION

sum-pha takes a bunch of pha files and sums them together, writing the result to the UNIX standard output stream. It does nothing else. It will complain if you mix different length files. It also sums the livetimes & truetimes from the pha file headers, and copies the irig start time from the first input file into the output file. The output should be compatible with pha2xspec-fits.

It's a very simple program that does a simple thing. Don't expect too much out of it.

If a filename is the string stdin, sum-pha will read from the UNIX standard input stream until EOF.

The output is a single column rdb table, with column name sum;


AUTHOR

Diab Jerius ( djerius@cfa.harvard.edu )


REVISED

Dick Edgar ( redgar@cfa.harvard.edu )


VERSION

$Id: sum-pha.pl,v 1.5 1997/02/26 22:57:26 dj Exp $