Skip to content

Commit f99e1ba

Browse files
authored
Merge pull request #1945 from tinumide/fermi-doc-cleanup
Fermi doc cleanup
2 parents 80f8b8f + 9878ec3 commit f99e1ba

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

docs/fermi/fermi.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. doctest-skip-all
2-
31
**********************************
42
Fermi Queries (`astroquery.fermi`)
53
**********************************
@@ -10,16 +8,15 @@ Getting started
108
The following example illustrates a Fermi LAT query,
119
centered on M 31 for the energy range 1 to 100 GeV for the first day in 2013.
1210

13-
.. code-block:: python
11+
.. doctest-remote-data::
1412

1513
>>> from astroquery import fermi
1614
>>> result = fermi.FermiLAT.query_object('M31', energyrange_MeV='1000, 100000',
1715
... obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
18-
>>> print(result)
19-
['https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L1309041729388EB8D2B447_SC00.fits',
20-
'https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L1309041729388EB8D2B447_PH00.fits']
21-
>>> from astropy.io import fits
22-
>>> sc = fits.open('https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L1309041729388EB8D2B447_SC00.fits')
16+
>>> print(result) # doctest: +IGNORE_OUTPUT
17+
['https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_PH00.fits',
18+
'https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_SC00.fits']
19+
2320

2421

2522
Reference/API

0 commit comments

Comments
 (0)