About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: 28 July 2009

URL: http://cxc.harvard.edu/sherpa4.1/bugs/set_analysis.html

Caveats: set_analysis


Caveats

  1. Model evaluation is based on an energy grid even if 'set_analysis("wave")' has been issued.


Caveats

  1. Model evaluation is based on an energy grid even if 'set_analysis("wave")' has been issued.

    When Sherpa 4.1 evaluates a model for an input PHA data set, model parameter values are computed using an energy grid, regardless of whether the 'set_analysis("wavelength")' command (S-Lang or Python help) has been issued. The model parameters are always returned in units of keV (energy).

    Workaround:

    The translation between keV and Angstroms can be made by calculating

    λ(A)=hc/E(keV),

    where 'hc' is a constant (Planck's constant times speed of light) and λ is given in Angstroms.

    If the data is binned, the size of the bins in keV, d(E), translates to the size in Angstroms, d(λ), as

    d(λ)= -d(E)*hc/E2.

Last modified: 28 July 2009


The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.