effective_area
- pyirf.irf.effective_area(n_selected, n_simulated, area)[source]
Calculate effective area for histograms of selected and total simulated events
- Parameters:
- n_selected: int or numpy.ndarray[int]
The number of surviving (e.g. triggered, analysed, after cuts)
- n_simulated: int or numpy.ndarray[int]
The total number of events simulated
- area: astropy.units.Quantity[area]
Area in which particle’s core position was simulated