create_bg_observation_list

gammapy.scripts.create_bg_observation_list(indir, outdir, overwrite, test)[source]

Make total observation list and filter the observations.

In a first version, all obs taken within 3 deg of a known source will be rejected. If a source is extended, twice the extension is added to the corresponding exclusion region radius of 3 deg.

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).

test : bool

If true, run fast: skip many runs and catalog sources.