Skip to content

Commit 63491f7

Browse files
committed
Update documentation for the gaia query object
Refs astropy#1760
1 parent ab04f5b commit 63491f7

File tree

1 file changed

+55
-19
lines changed

1 file changed

+55
-19
lines changed

Diff for: docs/gaia/gaia.rst

+55-19
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,51 @@ degrees around an specific point in RA/Dec coordinates.
9292
>>> r = Gaia.query_object_async(coordinate=coord, width=width, height=height)
9393
>>> r.pprint()
9494
95-
dist solution_id ... ecl_lat
96-
... Angle[deg]
97-
--------------------- ------------------- ... -------------------
98-
0.0026029414438061079 1635378410781933568 ... -36.779151653783892
99-
0.0038537557334594502 1635378410781933568 ... -36.773899692008634
100-
0.0045451702670639632 1635378410781933568 ... -36.772645786277522
101-
0.0056131312891700424 1635378410781933568 ... -36.781488832325074
102-
... ... ... ...
103-
Length = 152 rows
95+
dist solution_id ... epoch_photometry_url
96+
...
97+
--------------------- ------------------- ... --------------------
98+
0.0026034636994048854 1635721458409799680 ...
99+
0.0038518741347606357 1635721458409799680 ...
100+
0.00454542650096783 1635721458409799680 ...
101+
0.005613919443965546 1635721458409799680 ...
102+
0.005846434715822121 1635721458409799680 ...
103+
0.006209042666371929 1635721458409799680 ...
104+
0.007469463683838576 1635721458409799680 ...
105+
0.008202004514524316 1635721458409799680 ...
106+
0.008338509690874027 1635721458409799680 ...
107+
0.008406677772258921 1635721458409799680 ...
108+
... ... ... ...
109+
0.01943176697471851 1635721458409799680 ...
110+
0.019464719601172412 1635721458409799680 ...
111+
0.019467068628703368 1635721458409799680 ...
112+
0.019752561500226976 1635721458409799680 ...
113+
0.01991656886177004 1635721458409799680 ...
114+
0.020149589233310516 1635721458409799680 ...
115+
0.020307185970548904 1635721458409799680 ...
116+
0.020454730686780127 1635721458409799680 ...
117+
0.020802655215768254 1635721458409799680 ...
118+
0.021615117161838747 1635721458409799680 ...
119+
Length = 50 rows
120+
121+
The query returns a result containing 50 rows by default. The number of rows returned can be controlled by setting ``Gaia.ROW_LIMIT`` appropriately.
122+
123+
.. code-block:: python
124+
125+
>>> Gaia.ROW_LIMIT = 8
126+
>>> r = Gaia.query_object_async(coordinate=coord, width=width, height=height)
127+
>>> r.pprint()
128+
129+
dist solution_id ... epoch_photometry_url
130+
...
131+
--------------------- ------------------- ... --------------------
132+
0.0026034636994048854 1635721458409799680 ...
133+
0.0038518741347606357 1635721458409799680 ...
134+
0.00454542650096783 1635721458409799680 ...
135+
0.005613919443965546 1635721458409799680 ...
136+
0.005846434715822121 1635721458409799680 ...
137+
0.006209042666371929 1635721458409799680 ...
138+
0.007469463683838576 1635721458409799680 ...
139+
0.008202004514524316 1635721458409799680 ...
104140
105141
106142
1.2. Cone search
@@ -121,16 +157,16 @@ radius argument.
121157
>>> r = j.get_results()
122158
>>> r.pprint()
123159
124-
dist solution_id ... ecl_lat
125-
... Angle[deg]
126-
--------------------- ------------------- ... -------------------
127-
0.0026029414438061079 1635378410781933568 ... -36.779151653783892
128-
0.0038537557334594502 1635378410781933568 ... -36.773899692008634
129-
0.0045451702670639632 1635378410781933568 ... -36.772645786277522
130-
0.0056131312891700424 1635378410781933568 ... -36.781488832325074
131-
... ... ... ...
132-
Length = 2000 rows
133-
160+
solution_id designation ... dist
161+
...
162+
------------------- ---------------------------- ... ---------------------
163+
1635721458409799680 Gaia DR2 6636090334814214528 ... 0.0026034636994048854
164+
1635721458409799680 Gaia DR2 6636090339113063296 ... 0.0038518741347606357
165+
1635721458409799680 Gaia DR2 6636090334814217600 ... 0.00454542650096783
166+
1635721458409799680 Gaia DR2 6636089583198816640 ... 0.005613919443965546
167+
1635721458409799680 Gaia DR2 6636090334814218752 ... 0.005846434715822121
168+
... ... ... ...
169+
Length = 50 rows
134170
135171
136172
1.3. Getting public tables metadata

0 commit comments

Comments
 (0)