26.01.2015 Views

XSPEC User's Guide

XSPEC User's Guide

XSPEC User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8<br />

R ( I, J)<br />

<br />

D<br />

<br />

EJ<br />

EJ<br />

1<br />

E<br />

R( I, E)<br />

dE<br />

<strong>XSPEC</strong> reads both the energy ranges, E<br />

J<br />

, and the response matrix RD<br />

(, I J ) from<br />

a response file in a compressed format that only stores non-zero elements. <strong>XSPEC</strong> also<br />

includes an option to use an auxiliary response file, which contains an array A(J)that is<br />

multiplied into R (, I J ) as follows:<br />

D<br />

J<br />

E<br />

J1<br />

R ( I, J) R ( I, J) A ( J)<br />

D D D<br />

This array is designed to represent the efficiency of the detector with the response<br />

file representing a normalized Redistribution Matrix Function, or RMF. Conventionally,<br />

the response is in units of cm 2 .<br />

M(E): The Model Spectrum<br />

The model spectrum, M ( E ), is calculated within <strong>XSPEC</strong> using the energy ranges<br />

defined by the response file :<br />

EJ<br />

MD( J) M( E)<br />

dE<br />

and is in units of photons cm -2 s -1 . <strong>XSPEC</strong> allows the construction of composite<br />

models consisting of additive components representing X-ray sources (e.g., power-laws,<br />

blackbodys, and so forth), multiplicative components, which modify additive components<br />

by an energy-dependent factor (e.g., photoelectric absorption, edges, ...). Convolution and<br />

mixing models can then perform sophisticated operations on the result. Models are<br />

defined in algebraic notation.<br />

For example, the following expression:<br />

EJ<br />

1<br />

phabs (power + phabs (bbody))<br />

defines an absorbed blackbody, phabs(bbody), added to a power-law, power. The<br />

result then is modified by another absorption component, phabs. For a list of available<br />

models, see Chapter 6.<br />

Fits and Confidence Intervals<br />

Once data have been read in and a model defined, <strong>XSPEC</strong> uses a fitting algorithm<br />

to find the best-fit values of the model parameter. The default is a modified Levenberg-<br />

Marquardt algorithm (based on CURFIT from Bevington, 1969). The algorithm used is<br />

local rather than global, so be aware that it is possible for the fitting process to get stuck<br />

in a local minimum and not find the global best-fit. The process also goes much faster<br />

(and is more likely to find the true minimum) if the initial model parameters are set to<br />

sensible values.<br />

The Levenberg-Marquardt algorithm relies on <strong>XSPEC</strong> calculating the 2 nd<br />

derivatives of the fit statistic with respect to the model parameters. By default these are<br />

calculated analytically, with the assumption that the 2 nd derivatives of the model itself<br />

D

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!