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#

Examples using gammapy.makers.MapDatasetMaker#

Spectral analysis

Spectral analysis

Basic image exploration and fitting

Basic image exploration and fitting

Makers - Data reduction

Makers - Data reduction

Examples using gammapy.makers.SpectrumDatasetMaker#

Spectral analysis

Spectral analysis

Basic image exploration and fitting

Basic image exploration and fitting

Makers - Data reduction

Makers - Data reduction