MapMakerObs

class gammapy.cube.MapMakerObs(observation, geom, offset_max, geom_true=None, exclusion_mask=None, background_oversampling=None)[source]

Bases: object

Make maps for a single IACT observation.

Parameters:
observation : DataStoreObservation

Observation

geom : WcsGeom

Reference image geometry

offset_max : Angle

Maximum offset angle

geom_true : WcsGeom

Reference image geometry in true energy, used for exposure maps and PSF. If none, the same as geom is assumed

exclusion_mask : Map

Exclusion mask (used by some background estimators)

Attributes Summary

coords
coords_etrue
fov_mask
fov_mask_etrue

Methods Summary

run(self[, selection]) Make maps.

Attributes Documentation

coords
coords_etrue
fov_mask
fov_mask_etrue

Methods Documentation

run(self, 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.