File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
- .. doctest-skip-all
2
-
3
1
**********************************
4
2
Fermi Queries (`astroquery.fermi `)
5
3
**********************************
@@ -11,15 +9,16 @@ The following example illustrates a Fermi LAT query,
11
9
centered on M 31 for the energy range 1 to 100 GeV for the first day in 2013.
12
10
13
11
.. code-block :: python
12
+ .. doctest-remote-data ::
14
13
15
14
>>> from astroquery import fermi
16
15
>>> result = fermi.FermiLAT.query_object(' M31' , energyrange_MeV = ' 1000, 100000' ,
17
16
... 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' ]
17
+ >>> print (result) # doctest: +IGNORE_OUTPUT
18
+ ['https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_PH00 .fits',
19
+ 'https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_SC00 .fits']
21
20
>>> from astropy.io import fits
22
- >> > sc = fits.open(' https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L1309041729388EB8D2B447_SC00 .fits' )
21
+ >>> sc = fits.open(' https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_SC00 .fits' )
23
22
24
23
25
24
Reference/API
You can’t perform that action at this time.
0 commit comments