sherpa.astro.ui.load_xstable_model(modelname, filename)

Create an additive (atable, 1) or multiplicative (mtable, 2) XSPEC table model component. These models may have multiple model parameters.

Parameters
• modelname (str) – The identifier for this model component.

• filename (str) – The name of the FITS file containing the data, which should match the XSPEC table model definition 3.

Raises

sherpa.utils.err.ImportErr – If XSPEC support is not enabled.

load_conv()

load_psf()

Create a PSF model

load_template_model()

Load a set of templates and use it as a model component.

load_table_model()

Load tabular or image data and use it as a model component.

set_model()

Set the source model expression for a data set.

set_full_model()

Define the convolved model expression for a data set.

Notes

NASA’s HEASARC site contains a link to community-provided XSPEC table models 4.

References

1

2

3

http://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/general/ogip_92_009/ogip_92_009.html

4

>>> load_xstable_model('xtbl', 'bbrefl_1xsolar.fits')