In case of power_law epdf, if you choose static floors and pull correctors (eg median_1d) you need to provide the gamma in order to weight the MC, so basically these are applicable for fixed-gamma power law. Hence, raise an error if gamma is not provided in the llh_energy_pdf for these cases.
Other changes:
in minimizer, raise error if try applying pull correction when choosing KDEs (ie llh_name either standard_kde_enabled or std_matrix_kde_enabled) since KDEs already account for this
in ts_distributions, compatibility of ts_type param between plot_background_ts_distribution and fit_background_ts methods
in ResultsHandler find_disc_potential, correct plot names when discovery potential threshold from chi2 fit and TS=25
"Fix" to #363:
In case of
power_law
epdf, if you choose static floors and pull correctors (egmedian_1d
) you need to provide the gamma in order to weight the MC, so basically these are applicable for fixed-gamma power law. Hence, raise an error if gamma is not provided in thellh_energy_pdf
for these cases.Other changes:
llh_name
eitherstandard_kde_enabled
orstd_matrix_kde_enabled
) since KDEs already account for thists_distributions
, compatibility ofts_type
param betweenplot_background_ts_distribution
andfit_background_ts
methodsfind_disc_potential
, correct plot names when discovery potential threshold from chi2 fit and TS=25