get_stat_name¶
- sherpa.ui.get_stat_name()¶
Return the name of the current fit statistic.
- Returns
name – The name of the current fit statistic method, in lower case.
- Return type
str
Examples
>>> get_stat_name() 'chi2gehrels'
>>> set_stat('cash') >>> get_stat_name() 'cash'