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 2008

URL: http://cxc.harvard.edu/sherpa4.1/chi2xspecvar.py.html
AHELP for Sherpa 4.1

chi2xspecvar

Context: py.sherpa

Synopsis

Chi-square statistic with variance computed from data amplitudes.

Description

The chi2xspecvar statistic is equivalent to chi2datavar ("ahelp chi2datavar"), except that when the number of counts in a channel bin is less than 1, the variance is set to 1.

Example

sherpa> set_stat("chi2xspecvar")
sherpa> show_stat()
Statistic: Chi2XspecVar

Set the fitting statistic and then confirm the new value.

Bugs

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

Last modified: December 2008



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.