Data reduction (DL3 to DL4)#

The gammapy.makers sub-package contains classes to perform data reduction tasks from DL3 data to binned datasets. In the data reduction step the DL3 data is prepared for modeling and fitting, by binning events into a counts map and interpolating the exposure, background, psf and energy dispersion on the chosen analysis geometry.

Background estimation#

Safe data range definition#

The definition of a safe data range is done using the SafeMaskMaker or manually.

Using gammapy.makers#

Makers - Data reduction

Makers - Data reduction

Examples using SpectrumDatasetMaker#

Spectral analysis of extended sources

Spectral analysis of extended sources

Spectral analysis

Spectral analysis

Spectral analysis with energy-dependent directional cuts

Spectral analysis with energy-dependent directional cuts

Examples using MapDatasetMaker#

HAWC with Gammapy

HAWC with Gammapy

High level interface

High level interface