effective_area_3d_lonlat

pyirf.irf.effective_area_3d_lonlat(selected_events, simulation_info, true_energy_bins, fov_longitude_bins, fov_latitude_bins, subpixels=20)[source]

Calculate effective area in bins of true energy, field of view longitude, and field of view latitude.

Parameters:
selected_events: astropy.table.QTable

DL2 events table, required columns for this function: - true_energy - true_source_fov_lon - true_source_fov_lat

simulation_info: pyirf.simulations.SimulatedEventsInfo

The overall statistics of the simulated events

true_energy_bins: astropy.units.Quantity[energy]

The true energy bin edges in which to calculate effective area.

fov_longitude_bins: astropy.units.Quantity[angle]

The field of view longitude bin edges in which to calculate effective area.

fov_latitude_bins: astropy.units.Quantity[angle]

The field of view latitude bin edges in which to calculate effective area.