stack_observations

gammapy.scripts.stack_observations(indir, outdir, overwrite, method='default')[source]

Stack events for each observation group (bin) and make background model.

The models are stored into FITS files.

Parameters:

indir : str

Input directory (that contains the event lists)

outdir : str

Dir path to store the results.

overwrite : bool

If true, run fast (not recommended for analysis).

method : {‘default’, ‘michi’}, optional

Bg cube model calculation method to apply.