FixedPointingInfo¶
-
class
gammapy.data.FixedPointingInfo(meta)[source]¶ Bases:
objectIACT array pointing info.
Data format specification: POINTING
- Parameters
- meta
meta Meta header info from Table on pointing
- meta
Examples
>>> from gammapy.data import PointingInfo >>> path = '$GAMMAPY_DATA/tests/pointing_table.fits.gz' >>> pointing_info = PointingInfo.read(path) >>> print(pointing_info)
Note: In order to reproduce the example you need the tests datasets folder. You may download it with the command
gammapy download datasets --tests --out $GAMMAPY_DATAAttributes Summary
ALT/AZ pointing position computed from RA/DEC (
SkyCoord).ALT / AZ frame (
AltAz).Pointing duration (
TimeDelta).Observatory location (
EarthLocation).Average observation time for the observation (
Time).RA/DEC pointing position from table (
SkyCoord).Time reference (
Time).Start time (
Time).Stop time (
Time).Methods Summary
read(filename[, hdu])Read pointing information table from file to obtain the metadata.
Attributes Documentation
-
location¶ Observatory location (
EarthLocation).
Methods Documentation
-
classmethod
read(filename, hdu='EVENTS')[source]¶ Read pointing information table from file to obtain the metadata.
- Parameters
- filenamestr
File name
- hduint or str
HDU number or name
- Returns
- pointing_info
PointingInfo Pointing info object
- pointing_info