File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
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
**********************************
@@ -10,16 +8,15 @@ Getting started
10
8
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
- .. code-block :: python
11
+ .. doctest-remote-data ::
14
12
15
13
>>> from astroquery import fermi
16
14
>>> result = fermi.FermiLAT.query_object(' M31' , energyrange_MeV = ' 1000, 100000' ,
17
15
... 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
+
23
20
24
21
25
22
Reference/API
You can’t perform that action at this time.
0 commit comments