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 2006

URL: http://cxc.harvard.edu/ciao3.4/staterrors.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 staterrors Context: sherpa

Synopsis

Defines an expression or file to be used to specify the statistical errors for source data.

Syntax

sherpa> [B]STATERRORS [<dataset range> | ALLSETS] = <errorExpr>

STATERRORS is used for specifying statistical errors in source
datasets, while BSTATERRORS is used for specifying statistical errors
in background datasets.

<dataset range> = # (or more generally #:#,#:#, etc.) such that #
specifies a dataset number and #:# represents an inclusive range of
datasets; one may specify multiple inclusive ranges by separating them
with commas. The default dataset is dataset 1.

Description

The error expression, <errorExpr>, may be composed of one or more (algebraically-combined) of the following elements:

Component: Description:
DATA An input dataset
numericals Numerical values
operators + - * / ( )

A few things to note:

  • Statistical error expressions cannot be defined without first reading in a source dataset.
  • Statistical errors are added in quadrature with systematic errors (if specified) to produce an overall error estimate in each data bin.
  • Currently, statistical errors cannot be specified in an input file.

For additional information, see the related command ERRORS.

Example

Define an expression to be used for the statistical errors.

sherpa> DATA data.dat
sherpa> STATERRORS = 5

Bugs

See the Sherpa bug pages online for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 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.