Skip to main content

HEASARC's web sites were down from Saturday Oct 24 - Weds Oct 28 due to addressing the PHP security vulnerability issue.

Xspec Home Page


mtable: multiplicative tabular model

A multiplicative table model. The filename to be used should be given immediately after mtable in the model command. For example:

XSPEC>model mtable{mymod.mod}*powerlaw

uses mymod.mod as the input for the model. For specifications of the table model file, see the OGIP memo 92-009 on the FITS file format for table model files (available at https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/summary/ogip_92_009_summary.html. A sample multiplicative table model file is testpcfabs.mod in $HEADAS/../ftools/spectral/session.

The model value is assumed unity outside the tabulated energies unless the keywords LOELIMIT and HIELIMIT are given in the primary extension of the FITS file. In the latter case the value given in LOELIMIT will be used for energies below those tabulated and HIELIMIT for energies above those tabulated.

A table model file may also provide a neural network (NN) emulation of the tabulated model, indicated by the NNPTFILE keyword in the primary extension pointing to a PyTorch (.pt) weights file. When such a file is loaded XSPEC automatically evaluates the model with the neural network instead of interpolating on the parameter grid; this requires XSPEC to have been built with libtorch support. See atable for details.