Fix pyflakes issues in gammapy.stats
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Statistics."""
-from .counts_statistic import *
-from .fit_statistics import *
-from .fit_statistics_cython import *
+from .counts_statistic import WStatCountsStatistic, CashCountsStatistic
+from .fit_statistics import (
+ cash,
+ cstat,
+ wstat,
+ get_wstat_mu_bkg,
+ get_wstat_gof_terms,
+)
+from .fit_statistics_cython import (
+ norm_bounds_cython,
+ cash_sum_cython,
+ f_cash_root_cython,
+)
+
+__all__ = [
+ "WStatCountsStatistic",
+ "CashCountsStatistic",
+ "cash",
+ "cstat",
+ "wstat",
+ "get_wstat_mu_bkg",
+ "get_wstat_gof_terms",
+ "norm_bounds_cython",
+ "cash_sum_cython",
+ "f_cash_root_cython",
+]
