econvpha -- Converts EGRET .spec files to XSPEC .pha files.
econvpha file.spec file.pha
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).
1. Convert 2eg2020.spec into 2eg2020.pha:
% econvpha 2eg2020.spec 2eg2020.pha
econvrmf