Module functions to get the current value of the statistic comparing source and background data and model values.
 
 
Double_Type get_statistic([Integer_Type])
Double_Type get_bstatistic([Integer_Type])
Error Return Value: NULL
Arguments:
(1) data set number (default 1) 
 
The function get_statistic() returns the latest 
evaluated statistic value for the given data set.  (The function 
get_bstatistic() does so for the appropriate background 
data set and background model.)
 
(Note that this function is not the same as get_statistics(),
which returns an array showing the value of the fit statistic in
each bin.  This function returns the sum of the values in the
array returned by get_statistics().)
 
See the related Sherpa command
GOODNESS for more information.
 
 
sherpa> get_statistic()
638.148
  
 
 
- chandra
 
- 
guide
 
- sherpa
 
- 
get_analysis,
get_arf_axes,
get_axes,
get_coord,
get_data,
get_energy_axes,
get_errors,
get_filter,
get_filter_expr,
get_fit,
get_fluxed_spectrum,
get_ftest,
get_metadata,
get_photon_axes,
get_photon_energy_axes,
get_photon_wave_axes,
get_qvalue,
get_raw_axes,
get_record,
get_source,
get_stats,
get_syserrors,
get_wave_axes,
get_weights,
record,
save,
write
 
 
 
 |