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

Skip the navigation links
Last modified: 21 September 2006

URL: http://cxc.harvard.edu/sherpa3.4/bugs/sl_get_beflux.html
Hardcopy (PDF): A4 | Letter

S-lang-related Bugs: get_beflux


Bugs

  1. Problems calculating flux and counts over a range.


Bugs

  1. Problems calculating flux and counts over a range.

    The behavior described in this bug applies to the following commands:

    Given x > 0:

    1. "EFLUX (0:x)" returns the same value as "EFLUX" (i.e. the flux over the full range of the dataset), when it should return the flux integrated from the start of the dataset to x.
    2. "EFLUX (x:0)" returns the same value as "EFLUX (x)." This should return an error since x > 0, so the range isn't sensible.

    Workaround:

    replace 0 with a small decimal, e.g. 0.001. Then case 1 gives the correct answer (flux from the start of the dataset to x), and case 2 gives 0 (which at least tells you that you did something wrong).

Hardcopy (PDF): A4 | Letter
Last modified: 21 September 2006


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.