effective_area_per_energy

pyirf.irf.effective_area_per_energy(selected_events, simulation_info, true_energy_bins)[source]

Calculate effective area in bins of true energy.

Parameters:
selected_events: astropy.table.QTable

DL2 events table, required columns for this function: true_energy.

simulation_info: pyirf.simulations.SimulatedEventsInfo

The overall statistics of the simulated events

true_energy_bins: astropy.units.Quantity[energy]

The bin edges in which to calculate effective area.