NAME

econvpha -- Converts EGRET .spec files to XSPEC .pha files.


USAGE

        econvpha file.spec file.pha

DESCRIPTION

This utility converts ASCII formatted .spec files generated from the EGRET data analysis codes SKYUTIL and LIKE into XSPEC .pha files in FITS format.



     The input structure is read by the routine READAT based on code
     written by Patrick L. Nolan (Stanford University).  The output
     structure is written by the routine WFTSPF, which was written by
     Keith A. Arnaud (Goddard Space Flight Center).  The package of
     routines was assembled by John R. Mattox (Boston University).


PARAMETERS

phafil [.spec file]
Name of input .spec file.

outfil [.pha file]
Name of output .pha file.


EXAMPLES

1. Convert 2eg2020.spec into 2eg2020.pha:



               % econvpha 2eg2020.spec 2eg2020.pha


BUGS


SEE ALSO

econvrmf

CATEGORY

Mar97 ftools.gro