cta-observatory / ctaplot

Plotting library for CTA and other IACT

Home Page:https://ctaplot.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CTA effective area

vuillaut opened this issue · comments

The CTA effective area is wrong (the values probably come from an older production).
One should have the production reference clearly stated.
This is what I get from gamma_20deg_0deg_run100___cta-prod3-lapalma3-2147m-LaPalma_cone10.simtel.gz:

{'shower_prog_id': 1,
 'shower_prog_vers': 6990,
 'shower_prog_start': 1482580800,
 'detector_prog_id': 1,
 'detector_prog_vers': 1481293431,
 'detector_prog_start': 1482579523,
 'obsheight': 2147.0,
 'n_showers': 25000,
 'n_use': 20,
 'core_pos_mode': 1,
 'core_range': array([   0., 1900.], dtype=float32),
 'alt_range': array([1.2217305, 1.2217305], dtype=float32),
 'az_range': array([0., 0.], dtype=float32),
 'diffuse': 1,
 'viewcone': array([ 0., 10.], dtype=float32),
 'E_range': array([3.0e-03, 3.3e+02], dtype=float32),
 'spectral_index': -2.0,
 'B_total': 38.7280158996582,
 'B_inclination': 0.662263810634613,
 'B_declination': 0.0,
 'injection_height': -1.0,
 'atmosphere': 36,
 'corsika_iact_options': 187,
 'corsika_low_E_model': 2,
 'corsika_high_E_model': 3,
 'corsika_bunchsize': 5.0,
 'corsika_wlen_min': 240.0,
 'corsika_wlen_max': 700.0,
 'corsika_low_E_detail': 0,
 'corsika_high_E_detail': 101}

For gamma_20deg_0deg_run3034___cta-prod3_desert-2150m-Paranal-merged_cone10.simtel.gz:

{'shower_prog_id': 1,
 'shower_prog_vers': 6990,
 'shower_prog_start': 1467892800,
 'detector_prog_id': 1,
 'detector_prog_vers': 1462392225,
 'detector_prog_start': 1467874667,
 'obsheight': 2150.0,
 'n_showers': 20000,
 'n_use': 20,
 'core_pos_mode': 1,
 'core_range': array([   0., 3000.], dtype=float32),
 'alt_range': array([1.2217305, 1.2217305], dtype=float32),
 'az_range': array([0., 0.], dtype=float32),
 'diffuse': 1,
 'viewcone': array([ 0., 10.], dtype=float32),
 'E_range': array([3.0e-03, 3.3e+02], dtype=float32),
 'spectral_index': -2.0,
 'B_total': 23.11772346496582,
 'B_inclination': -0.39641156792640686,
 'B_declination': 0.0,
 'injection_height': -1.0,
 'atmosphere': 26,
 'corsika_iact_options': 187,
 'corsika_low_E_model': 2,
 'corsika_high_E_model': 3,
 'corsika_bunchsize': 5.0,
 'corsika_wlen_min': 240.0,
 'corsika_wlen_max': 700.0,
 'corsika_low_E_detail': 0,
 'corsika_high_E_detail': 303}

fixed by #25