Skip to content

Commit

Permalink
fix LST1 ringwobble gammas
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjark Miener authored and Tjark Miener committed May 29, 2024
1 parent bff94a1 commit ec6bdc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctlearn/build_irf.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ def main():
energy_max=u.Quantity(p["mc_header"]["energy_range_max"].max(), u.TeV),
spectral_index=p["mc_header"]["spectral_index"][0],
max_impact=u.Quantity(p["mc_header"]["max_scatter_range"].max(), u.m),
viewcone_min=u.Quantity(p["mc_header"]["min_viewcone_radius"][0], u.deg),
viewcone_max=u.Quantity(p["mc_header"]["max_viewcone_radius"][0], u.deg),
viewcone_min=u.Quantity(np.around(p["mc_header"]["min_viewcone_radius"][0], decimals=2), u.deg),
viewcone_max=u.Quantity(np.around(p["mc_header"]["max_viewcone_radius"][0], decimals=2), u.deg),
)
p["simulation_info"] = simulation_info
p["simulated_spectrum"] = PowerLaw.from_simulation(simulation_info, T_OBS)
Expand Down

0 comments on commit ec6bdc3

Please sign in to comment.