BackgroundRate2dMaker#
- class ctapipe.irf.BackgroundRate2dMaker(**kwargs: Any)[source]#
Bases:
BackgroundRateMakerBase
,DefaultFoVOffsetBins
Creates a radially symmetric parameterization of the background rate in equidistant bins of logarithmic reconstructed energy and field of view offset.
Methods Summary
__call__
(events, obs_time[, extname])Calculate the background rate and create a fits binary table HDU in GADF format.
Methods Documentation
- __call__(events: QTable, obs_time: Quantity, extname: str = 'BACKGROUND') BinTableHDU [source]#
Calculate the background rate and create a fits binary table HDU in GADF format.
- Parameters:
- events: astropy.table.QTable
Reconstructed events to be used.
- obs_time: astropy.units.Quantity[time]
Observation time. This must match with how the individual event weights are calculated.
- extname: str
Name for the BinTableHDU.
- Returns:
- BinTableHDU