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

Skip the navigation links
Last modified: December 2007

URL: http://cxc.harvard.edu/sherpabeta/subtract.py.html
AHELP for Sherpa 4.0 Beta subtract Context: py.sherpa

Synopsis

Perform background subtraction

Syntax

subtract( id )

Description

The subtract command performs background subtraction according to the equation:

                
Measured = Total  - Background  * Data Exposure * Data Area
Counts     Counts   Counts        Back Exposure   Back Area

Example

sherpa> subtract( 2 )

Subtract background counts for dataset "2".

Bugs

See the bugs pages on the Sherpa Beta website for an up-to-date listing of known bugs.

Last modified: December 2007



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.