effective_area_3d_polar

pyirf.irf.effective_area_3d_polar(selected_events, simulation_info, true_energy_bins, fov_offset_bins, fov_position_angle_bins)[source]

Calculate effective area in bins of true energy, field of view offset, and field of view position angle.

Parameters:
selected_events: astropy.table.QTable

DL2 events table, required columns for this function: - true_energy - true_source_fov_offset - true_source_fov_position_angle

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_offset_bins: astropy.units.Quantity[angle]

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

fov_position_angle_bins: astropy.units.Quantity[radian]

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