makers - Data reduction

Introduction

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.

Reference/API

gammapy.makers Package

Classes

Maker

Abstract maker base class.

ReflectedRegionsBackgroundMaker([…])

Reflected regions background maker.

AdaptiveRingBackgroundMaker(r_in, r_out_max, …)

Adaptive ring background algorithm.

FoVBackgroundMaker([method, exclusion_mask, …])

Normalize template background on the whole field-of-view.

PhaseBackgroundMaker(on_phase, off_phase)

Background estimation with on and off phases.

RingBackgroundMaker(r_in, width[, …])

Ring background method for cartesian coordinates.

SpectrumDatasetMaker([selection, …])

Make spectrum for a single IACT observation.

MapDatasetMaker([selection, …])

Make maps for a single IACT observation.

SafeMaskMaker([methods, aeff_percent, …])

Make safe data range mask for a given observation.

DatasetsMaker(makers[, stack_datasets, …])

Run makers in a chain

Variables

MAKER_REGISTRY

Registry of maker classes in Gammapy.