PointingInfo¶
-
class
gammapy.data.PointingInfo(table)[source]¶ Bases:
objectIACT array pointing info.
Data format specification: POINTING
Parameters: - table :
Table Table (with meta header info) on pointing
Examples
>>> from gammapy.data import PointingInfo >>> pointing_info = PointingInfo.read('$GAMMAPY_DATA/tests/hess_event_list.fits') >>> print(pointing_info)
Attributes Summary
altazALT / AZ position computed from RA / DEC ( SkyCoord).altaz_frameALT / AZ frame ( AltAz).altaz_from_tableALT / AZ position from table ( SkyCoord).durationPointing table duration ( TimeDelta).locationObservatory location ( EarthLocation).radecRA / DEC position from table ( SkyCoord).timeTime array ( Time).time_refTime reference ( Time).Methods Summary
altaz_interpolate(self, time)Interpolate pointing for a given time. read(filename[, hdu])Read PointingInfotable from file.Attributes Documentation
-
duration¶ Pointing table duration (
TimeDelta).The time difference between the first and last entry.
-
location¶ Observatory location (
EarthLocation).
Methods Documentation
-
classmethod
read(filename, hdu='POINTING')[source]¶ Read
PointingInfotable from file.Parameters: - filename : str
File name
- hdu : int or str
HDU number or name
Returns: - pointing_info :
PointingInfo Pointing info object
- table :