@@ -14,6 +14,13 @@ radius. Similar to the VizieR web interface, the queries may be further
14
14
constrained by specifying a choice of catalogs, keywords as well as filters on
15
15
individual columns before retrieving the results.
16
16
17
+ .. note ::
18
+ In earlier versions of astroquery (<0.4.8), columns with special characters like
19
+ ``r'mag `` were renamed into ``r_mag `` and columns starting with a number like
20
+ ``2MASS `` were prepended with an underscore ``_2MASS ``.
21
+ In astroquery >=0.4.8, the column names are the same in VizieR's webpages and in
22
+ the tables received (for the two examples: you'll see ``r'mag `` and ``2MASS ``).
23
+
17
24
Table Discover
18
25
--------------
19
26
@@ -182,7 +189,7 @@ To access an individual table from the `~astroquery.utils.TableList` object:
182
189
183
190
>>> interesting_table = result[' IX/8/catalog' ]
184
191
>>> print (interesting_table)
185
- _2XRS RAB1950 DEB1950 Xname ... Int _RA.icrs _DE.icrs
192
+ 2XRS RAB1950 DEB1950 Xname ... Int _RA.icrs _DE.icrs
186
193
... uJy
187
194
--------- ------------ ------------ ----- ... --- ------------ ------------
188
195
06429-166 06 42 54.000 -16 39 00.00 ... -- 06 45 08.088 -16 42 11.29
@@ -347,7 +354,7 @@ the ``"+"`` in front of ``"_r"``.
347
354
>>> vizier = Vizier(columns = [" *" , " +_r" ], catalog = " II/246" )
348
355
>>> result = vizier.query_region(" HD 226868" , radius = " 20s" )
349
356
>>> print (result[0 ])
350
- _r RAJ2000 DEJ2000 _2MASS Jmag ... Bflg Cflg Xflg Aflg
357
+ _r RAJ2000 DEJ2000 2MASS Jmag ... Bflg Cflg Xflg Aflg
351
358
deg deg mag ...
352
359
------ ---------- ---------- ---------------- ------ ... ---- ---- ---- ----
353
360
0.134 299.590280 35.201599 19582166+3512057 6.872 ... 111 000 0 0
@@ -395,8 +402,8 @@ index to the ``agn`` table (not the 0-based python convention).
395
402
396
403
>>> guide = Vizier(catalog = " II/246" , column_filters = {" Kmag" :" <9.0" }).query_region(agn, radius = " 30s" , inner_radius = " 2s" )[0 ]
397
404
>>> guide.pprint()
398
- _q RAJ2000 DEJ2000 _2MASS Jmag ... Rflg Bflg Cflg Xflg Aflg
399
- deg deg mag ...
405
+ _q RAJ2000 DEJ2000 2MASS Jmag ... Rflg Bflg Cflg Xflg Aflg
406
+ deg deg mag ...
400
407
--- ---------- ---------- ---------------- ------ ... ---- ---- ---- ---- ----
401
408
1 10.686015 41.269630 00424464+4116106 9.399 ... 20 20 0c0 2 0
402
409
1 10.685657 41.269550 00424455+4116103 10.773 ... 200 200 c00 2 0
0 commit comments