Commit 0c533e31 authored by Alessio Berti's avatar Alessio Berti
Browse files

Commented references to background file (not used anywhere) and corrected...

Commented references to background file (not used anywhere) and corrected creation of IRFGenerator instance, which takes only one argument (the MC file name).
parent 00a3166c
......@@ -650,8 +650,9 @@ magic_tel_descriptions = {1: magic_tel_description,
# -----------------
mc_file_name = '../../../MCs/MAGIC/ST.03.07/za05to35/Test_sample/3.Reco/reco_m1.h5'
bkg_file_name = '/remote/ceph/group/magic/MAGIC-LST/Data/MAGIC/Off/Test_sample/ctapipe/reco/reco_m1_magic_clean_step_20170109.h5'
irf_generator = IRFGenerator(mc_file_name, bkg_file_name)
#bkg_file_name = '/remote/ceph/group/magic/MAGIC-LST/Data/MAGIC/Off/Test_sample/ctapipe/reco/reco_m1_magic_clean_step_20170109.h5'
#irf_generator = IRFGenerator(mc_file_name, bkg_file_name)
irf_generator = IRFGenerator(mc_file_name)
irf_generator.set_energy_binning(min_energy=0.1, max_energy=30, n_energy_bins=10)
irf_generator.set_theta_binning(min_theta=0.0, max_theta=1.5, n_theta_bins=5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment