diff --git a/src/iact_estimator/scripts/estimator.py b/src/iact_estimator/scripts/estimator.py index 155ee42..b821e3e 100644 --- a/src/iact_estimator/scripts/estimator.py +++ b/src/iact_estimator/scripts/estimator.py @@ -116,7 +116,9 @@ def main(): if not performance_data: energy_bins, gamma_rate, background_rate = prepare_data(config) else: - energy_bins, gamma_rate, background_rate = prepare_data(performance_data) + energy_bins, gamma_rate, background_rate = prepare_data( + config, performance_data + ) en, sed, dsed, sigmas, detected = calculate( energy_bins, gamma_rate, background_rate, config, assumed_spectrum