Module function to retrieve the name of the current statistic.
String_Type get_stat_expr()
Error Return Value: NULL
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.
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
- sherpa
-
bayes,
cash,
chicvar,
chidvar,
chigehrels,
chimvar,
chiprimini,
chisquare,
cstat,
statistic,
truncate,
userstat
|