get_stat_name
- sherpa.astro.ui.get_stat_name() str
Return the name of the current fit statistic.
Changed in version 4.17.1: User statistics now return their name, in lower-case, rather than the string “userstat”.
- Returns:
name – The name of the current fit statistic method, in lower case.
- Return type:
Examples
>>> get_stat_name() 'chi2gehrels'
>>> set_stat('cash') >>> get_stat_name() 'cash'