@@ -242,18 +242,18 @@ def list_votable_fields(self):
242
242
>>> options = Simbad.list_votable_fields() # doctest: +REMOTE_DATA
243
243
>>> # to print only the available bundles of columns
244
244
>>> options[options["type"] == "bundle of basic columns"][["name", "description"]] # doctest: +REMOTE_DATA
245
- <Table length=9 >
246
- name description
247
- object object
248
- ------------- -------------------------------------------------------
249
- coordinates all fields related with coordinates
250
- dim major and minor axis, angle and inclination
251
- dimensions all fields related to object dimensions
252
- morphtype all fields related to the morphological type
253
- parallax all fields related to parallaxes
254
- propermotions all fields related with the proper motions
255
- sp all fields related with the spectral type
256
- velocity all fields related with radial velocity and redshift
245
+ <Table length=8 >
246
+ name description
247
+ object object
248
+ ------------- ----------------------------------------------------
249
+ coordinates all fields related with coordinates
250
+ dim major and minor axis, angle and inclination
251
+ dimensions all fields related to object dimensions
252
+ morphtype all fields related to the morphological type
253
+ parallax all fields related to parallaxes
254
+ propermotions all fields related with the proper motions
255
+ sp all fields related with the spectral type
256
+ velocity all fields related with radial velocity and redshift
257
257
"""
258
258
# get the tables with a simple link to basic
259
259
query_tables = """SELECT DISTINCT table_name AS name, tables.description
@@ -1276,37 +1276,37 @@ def list_columns(self, *tables: str, keyword=None, get_query_payload=False):
1276
1276
>>> from astroquery.simbad import Simbad
1277
1277
>>> Simbad.list_columns("ids", "ident") # doctest: +REMOTE_DATA
1278
1278
<Table length=4>
1279
- table_name column_name datatype ... unit ucd
1280
- object object object ... object object
1281
- ---------- ----------- -------- ... ------ -------
1282
- ident id VARCHAR ... meta.id
1283
- ident oidref BIGINT ...
1284
- ids ids VARCHAR ... meta.id
1285
- ids oidref BIGINT ...
1279
+ table_name column_name datatype ... unit ucd
1280
+ object object object ... object object
1281
+ ---------- ----------- -------- ... ------ -----------
1282
+ ident id VARCHAR ... meta.id
1283
+ ident oidref BIGINT ... meta.record
1284
+ ids ids VARCHAR ... meta.id
1285
+ ids oidref BIGINT ... meta.record
1286
1286
1287
1287
1288
1288
>>> from astroquery.simbad import Simbad
1289
1289
>>> Simbad.list_columns(keyword="filter") # doctest: +REMOTE_DATA
1290
1290
<Table length=5>
1291
- table_name column_name datatype ... unit ucd
1292
- object object object ... object object
1293
- ----------- ----------- ----------- ... ------ ----------------------
1294
- filter description UNICODECHAR ... meta.note;instr.filter
1295
- filter filtername VARCHAR ... instr.filter
1296
- filter unit VARCHAR ... meta.unit
1297
- flux filter VARCHAR ... instr.filter
1298
- mesDiameter filter CHAR ... instr.filter
1291
+ table_name column_name datatype ... unit ucd
1292
+ object object object ... object object
1293
+ ----------- ----------- ----------- ... ------ ---------------------------
1294
+ filter description UNICODECHAR ... meta.note;instr.filter
1295
+ filter filtername VARCHAR ... instr.bandpass; instr.filter
1296
+ filter unit VARCHAR ... meta.unit
1297
+ flux filter VARCHAR ... instr.bandpass; instr.filter
1298
+ mesDiameter filter CHAR ... instr.bandpass; instr.filter
1299
1299
1300
1300
>>> from astroquery.simbad import Simbad
1301
1301
>>> Simbad.list_columns("basic", keyword="object") # doctest: +REMOTE_DATA
1302
1302
<Table length=4>
1303
- table_name column_name datatype ... unit ucd
1304
- object object object ... object object
1305
- ---------- ----------- -------- ... ------ -------------------
1306
- basic main_id VARCHAR ... meta.id;meta.main
1307
- basic otype_txt VARCHAR ... src.class
1308
- basic oid BIGINT ... meta.record;meta.id
1309
- basic otype VARCHAR ... src.class
1303
+ table_name column_name datatype ... unit ucd
1304
+ object object object ... object object
1305
+ ---------- ----------- -------- ... ------ -----------------
1306
+ basic main_id VARCHAR ... meta.id;meta.main
1307
+ basic otype_txt VARCHAR ... src.class
1308
+ basic oid BIGINT ... meta.record
1309
+ basic otype VARCHAR ... src.class
1310
1310
"""
1311
1311
query = ("SELECT table_name, column_name, datatype, description, unit, ucd"
1312
1312
" FROM TAP_SCHEMA.columns"
0 commit comments