SPEX model

Jeremy Sanders has provided a Python script which runs the SPEX program and extracts the spectra into files in the same format as APEC.

The script requires the Python v2.7 or 3.3+ and Astropy packages. The resulting files can be used in xspec by setting APECROOT then using the apec or vapec model.

Updated on Aug 1, 2018 to use Astropy and the latest version of SPEX.


Keith Arnaud, Lab. for High Energy Astrophysics, NASA/Goddard Space Flight Center

Xspec Xspec Home Page


HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Wednesday, 01-Aug-2018 15:14:23 EDT

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.