FixedPointingInfo

class gammapy.data.FixedPointingInfo(meta)[source]

Bases: object

IACT array pointing info.

Data format specification: POINTING

Parameters:
meta : meta

Meta header info from Table on pointing

Examples

>>> from gammapy.data import PointingInfo
>>> path = '$GAMMAPY_DATA/tests/hess_event_list.fits'
>>> pointing_info = PointingInfo.read(path)
>>> print(pointing_info)

Attributes Summary

altaz ALT/AZ pointing position computed from RA/DEC (SkyCoord).
altaz_frame ALT / AZ frame (AltAz).
duration Pointing duration (TimeDelta).
location Observatory location (EarthLocation).
obstime Average observation time for the observation (Time).
radec RA/DEC pointing position from table (SkyCoord).
time_ref Time reference (Time).
time_start Start time (Time).
time_stop Stop time (Time).

Methods Summary

read(filename[, hdu]) Read pointing information table from file to obtain the metadata.

Attributes Documentation

altaz

ALT/AZ pointing position computed from RA/DEC (SkyCoord).

altaz_frame

ALT / AZ frame (AltAz).

duration

Pointing duration (TimeDelta).

The time difference between the TSTART and TSTOP.

location

Observatory location (EarthLocation).

obstime

Average observation time for the observation (Time).

radec

RA/DEC pointing position from table (SkyCoord).

time_ref

Time reference (Time).

time_start

Start time (Time).

time_stop

Stop time (Time).

Methods Documentation

classmethod read(filename, hdu='EVENTS')[source]

Read pointing information table from file to obtain the metadata.

Parameters:
filename : str

File name

hdu : int or str

HDU number or name

Returns:
pointing_info : PointingInfo

Pointing info object