The sherpa.astro.utils.xspec module
Parser for XSPEC model files.
The XSPEC library 1 uses ASCII files to define models 2, and it can be useful to be able to read these files either to identify changes to the Sherpa code to support a new XSPEC release 3 or for writing a module for an XSPEC user model.
References
- 1
- 2
http://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XSappendixLocal.html
- 3
https://sherpa.readthedocs.io/en/latest/developer/index.html#update-the-xspec-bindings
Functions
|
Create the Python classes and C++ code for the models. |
|
Given an XSPEC model file - e.g. |