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 support for unencrypted FTP access ended on September 20, 2019. Please see this notice for details.