Fermi Queries (astroquery.fermi)

Getting started

The following example illustrates a Fermi LAT query, centered on M 31 for the energy range 1 to 100 GeV for the first day in 2013.

>>> from astroquery.fermi import FermiLAT
>>> result = FermiLAT.query_object('M31', energyrange_MeV='1000, 100000',
...                                      obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
>>> print(result)  


If you are repeatedly getting failed queries, or bad/out-of-date results, try clearing your cache:

>>> from astroquery.fermi import FermiLAT
>>> FermiLAT.clear_cache()

If this function is unavailable, upgrade your version of astroquery. The clear_cache function was introduced in version 0.4.7.dev8479.


astroquery.fermi Package

Access to Fermi Gamma-ray Space Telescope data.

https://fermi.gsfc.nasa.gov https://fermi.gsfc.nasa.gov/ssc/data/



TODO: document


TODO: document TODO: Fail with useful failure messages on genuine failures (this doesn't need to be implemented as a class)


Configuration parameters for astroquery.fermi.