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

The HEASARC welcomes your participation in a brief survey to capture how users access and utilize HEASARC data, software, and services. The outcome(s) of this survey will be used to guide, prioritize, and plan our activities and development in the coming years. It contains 18 questions, generally takes just a few minutes to complete, and your answers will remain totally anonymous. We thank you in advance for your valuable feedback.