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/get_stat_expr.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 get_stat_expr Context: sherpa

Synopsis

Module function to retrieve the name of the current statistic.

Syntax

String_Type get_stat_expr()

Error Return Value: NULL

Description

This function retrieves the name of the statistic currently set in Sherpa, for use in record-keeping, GUIs, etc.

See the related Sherpa command SHOW STATISTIC.

Example

Display the Sherpa statistic setting:

sherpa> stat1 = get_stat_expr 
sherpa> print(stat1)
chi gehrels
sherpa> STATISTIC CSTAT
sherpa> stat2 = get_stat_expr 
sherpa> print(stat2)
cstat

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.