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
Hardcopy (PDF): A4 | Letter

Why do my fit results from Sherpa and XSPEC differ by so much?


Most likely you have not subtracted the background from your dataset. XSPEC does this automatically, but Sherpa requires that you do this using the subtract command:

sherpa> data example.fits fits
sherpa> back example_bkg.fits fits
sherpa> subtract


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.