File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,16 @@ arcsecond radius for optical counterparts in SDSS. Note use of the keyword
13
13
argument spectro, which requires matches to have spectroscopy, not just
14
14
photometry:
15
15
16
- .. code-block :: python
17
16
.. doctest-remote-data ::
18
17
19
18
>>> from astroquery.sdss import SDSS
20
19
>>> from astropy import coordinates as coords
21
20
>>> pos = coords.SkyCoord(' 0h8m05.63s +14d50m23.3s' , frame = ' icrs' )
22
21
>>> xid = SDSS .query_region(pos, spectro = True )
23
22
>>> print (xid)
24
- ra dec objid ... run2d instrument
25
- ---------------- ---------------- ------------------- ... ----- ----- -----
26
- 2.02344596573482 14.8398237551311 1237652943176138868 ... 26 SDSS
23
+ ra dec ... specobjid run2d
24
+ ---------------- ---------------- ... ------------------ -----
25
+ 2.02344596573482 14.8398237551311 ... 845594848269461504 26
27
26
28
27
The result is an astropy.Table.
29
28
@@ -32,7 +31,6 @@ Downloading data
32
31
If we'd like to download spectra and/or images for our match, we have all
33
32
the information we need in the elements of "xid" from the above example.
34
33
35
- .. code-block :: python
36
34
.. doctest-remote-data ::
37
35
38
36
>>> sp = SDSS .get_spectra(matches = xid)
@@ -58,7 +56,6 @@ Spectral templates
58
56
It is also possible to download spectral templates from SDSS. To see what is
59
57
available, do
60
58
61
- .. code-block :: python
62
59
.. doctest-remote-data ::
63
60
64
61
>>> from astroquery.sdss import SDSS
You can’t perform that action at this time.
0 commit comments