list_stats

sherpa.astro.ui.list_stats()

List the fit statistics.

Returns

stat – A list of the names that can be used with set_stat.

Return type

list of str

See also

get_stat_name

Return the name of the current statistical method.

set_stat

Set the statistical method.

Examples

>>> list_stats()
['cash',
 'chi2',
 'chi2constvar',
 'chi2datavar',
 'chi2gehrels',
 'chi2modvar',
 'chi2xspecvar',
 'cstat',
 'leastsq',
 'wstat']