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


Adding Models to XSPEC

XSPEC includes a large collection of standard models that can be fit to data. However, sometimes these are not enough and a new model might be required. In order of increasing complexity the ways to do this are:

  • use the mdefine command;
  • create a table model;
  • load a model function created by someone else;
  • create and load your own model function.



Subsections