EnergyDispersion2dMaker#
- class ctapipe.irf.EnergyDispersion2dMaker(**kwargs: Any)[source]#
Bases:
EnergyDispersionMakerBase
,DefaultFoVOffsetBins
Creates a radially symmetric parameterization of the energy dispersion in equidistant bins of logarithmic true energy and field of view offset.
Methods Summary
__call__
(events, spatial_selection_applied)Calculate the energy dispersion and create a fits binary table HDU in GADF format.
Methods Documentation
- __call__(events: QTable, spatial_selection_applied: bool, extname: str = 'ENERGY DISPERSION') BinTableHDU [source]#
Calculate the energy dispersion 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
.- extname: str
Name for the BinTableHDU.
- Returns:
- BinTableHDU