pybkgmodel documentation#

ci coverage

Warning

The project is under active development, so major changes are possible without notice.

Please use issues to report problems or make suggestions.

pybkgmodel is a background model generation tool for Imaging Atmospheric Cherenkov Telescopes (IACTs). It allows building background maps from the available data excluding the region of interest from the process.

Supported background generation methods:

  • “wobble map” - assumes IACT observations were performed wobbling around the target position. For each telescope pointing, the background is generated from the IACT camera half, which does not include the source position;

  • “exclusion map” - excludes the specified sky region from consideration and generates the background model from the remaining data.

Supported background generation modes:

  • “run-wise”: for each telescope “data run” (observation session unit) identifies other runs close to it in time and constructs the individual background model from them only;

  • “stacked”: add the “run-wise” models together, resulting in an observation-averaged background model.

The latter is in general less noisy than the individual “run-wise” models at the cost of losing information on the potential background variation during the observations.

Note

Despite the initial focus on CTA/LST and MAGIC data, the project may be extended to any other IACTs (e.g. other CTA instruments).