MapMakerObs

class gammapy.cube.MapMakerObs(obs, geom, fov_mask=None, exclusion_mask=None)[source]

Bases: object

Make maps for a single IACT observation.

Parameters:

obs : DataStoreObservation

Observation

geom : WcsGeom

Reference image geometry

fov_mask : ndarray

Mask to select pixels in field of view

exclusion_mask : Map

Exclusion mask (used by some background estimators)

Methods Summary

run([selection]) Make maps.

Methods Documentation

run(selection=None)[source]

Make maps.

Returns dict with keys “counts”, “exposure” and “background”.

Parameters:

selection : list

List of str, selecting which maps to make. Available: ‘counts’, ‘exposure’, ‘background’ By default, all maps are made.