PointingMode#

class gammapy.data.PointingMode(value)[source]#

Bases: enum.Enum

Describes the behavior of the pointing during the observation.

See OBS_MODE.

For ground-based instruments, the most common options will be: * POINTING: The telescope observes a fixed position in the ICRS frame * DRIFT: The telescope observes a fixed position in the alt-az frame

Gammapy only supports fixed pointing positions over the whole observation (either in equatorial or horizontal coordinates). OGIP also defines RASTER, SLEW and SCAN. These cannot be treated using a fixed pointing position in either frame, so they would require the pointing table, which is at the moment not supported by gammapy.

Data releases based on gadf v0.2 do not have consistent OBS_MODE keyword e.g. the H.E.S.S. data releases uses the not-defined value “WOBBLE”. For all gadf data, we assume OBS_MODE to be the same as “POINTING”, unless it is set to “DRIFT”, making the assumption that one observation only contains a single fixed position.

Attributes Summary

DRIFT

POINTING

Attributes Documentation

DRIFT = 2#
POINTING = 1#