EffectiveArea2dMaker#
- class ctapipe.irf.EffectiveArea2dMaker(**kwargs: Any)[source]#
Bases:
EffectiveAreaMakerBase,DefaultFoVOffsetBinsCreates a radially symmetric parameterization of the effective area in equidistant bins of logarithmic true energy and field of view offset.
Methods Summary
__call__(events, spatial_selection_applied, ...)Calculate the effective area and create a fits binary table HDU in GADF format.
Methods Documentation
- __call__(events: QTable, spatial_selection_applied: bool, signal_is_point_like: bool, sim_info: SimulatedEventsInfo, extname: str = 'EFFECTIVE AREA') BinTableHDU[source]#
Calculate the effective area and create a fits binary table HDU in GADF format.
- Parameters:
- events: astropy.table.QTable
Reconstructed events to be used.
- spatial_selection_applied: bool
If a direction cut was applied on
events, passTrue, elseFalse.- signal_is_point_like: bool
If
eventswere simulated only at a single point in the field of view, passTrue, elseFalse.- sim_info: pyirf.simulations.SimulatedEventsInfoa
The overall statistics of the simulated events.
- extname: str
Name of the BinTableHDU.
- Returns:
- BinTableHDU