Setting Commands

The fit and goodness-of-fit test statistics are set using the statistic command. Other fit-minimization algorithms are available, and can be selected using the method command. The various fit methods require first and in some cases second derivatives of the statistic with respect to the parameters. By default XSPEC calculates these analytically, using an approximation for the second derivatives. This may be changed by setting the USE_CHAIN_RULE flag in the user's startup Xspec.init file to false. The weighting algorithm used to calculate $\chi^2$ can be altered by the weight command.

Other setting commands modify:

  • cosmological parameters used to calculate luminosity (cosmo)
  • solar abundances for 18 elements (abund)
  • photoionization cross-sections (xsect)
The xset command can be used as an interface for abund, cosmo, method, statistic, and xsect. Additionally, xset may set string expressions that are used by models, for example the path to, and version number of AtomDB atomic calculations, or the coordinate system for surface brightness calculations used in the xmmpsf mixing model.




HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Friday, 23-Aug-2024 13:20:40 EDT

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.