BackgroundRateMakerBase#
- class ctapipe.irf.irfs.BackgroundRateMakerBase(**kwargs: Any)[source]#
 Bases:
DefaultRecoEnergyBinsBase class for calculating the background rate.
Methods Summary
__call__(events, obs_time[, extname])Calculate the background rate and create a fits binary table HDU in GADF format.
Methods Documentation
- abstract __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