Skip to content

Commit 9326717

Browse files
committed
docs: update to reflect changes in Simbad
- new rotation measurement for Sirius - more presice value for M1's position - new main id for Barnard's exoplanet - new proper motion measurement for BD+30
1 parent fda99cf commit 9326717

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

docs/simbad/query_tap.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,22 +195,25 @@ that is the measurement table for rotations. Their common column is ``oidref``.
195195
.. doctest-remote-data::
196196

197197
>>> from astroquery.simbad import Simbad
198-
>>> query = """SELECT bibcode AS "Rotation Measurements Bibcodes"
198+
>>> query = """SELECT DISTINCT bibcode AS "Rotation Measurements Bibcodes"
199199
... FROM ident JOIN mesrot USING(oidref)
200200
... WHERE id = 'Sirius';
201201
... """
202-
>>> Simbad.query_tap(query)
203-
<Table length=7>
202+
>>> bibcodes = Simbad.query_tap(query)
203+
>>> bibcodes.sort("Rotation Measurements Bibcodes")
204+
>>> bibcodes
205+
<Table length=8>
204206
Rotation Measurements Bibcodes
205-
object
207+
object
206208
------------------------------
207-
2023ApJS..266...11B
208-
2016A&A...589A..83G
209-
2002A&A...393..897R
210-
1995ApJS...99..135A
211-
1970CoKwa.189....0U
212209
1970CoAsi.239....1B
210+
1970CoKwa.189....0U
211+
1995ApJS...99..135A
212+
2002A&A...393..897R
213+
2005yCat.3244....0G
213214
2011A&A...531A.143D
215+
2016A&A...589A..83G
216+
2023ApJS..266...11B
214217

215218
This returns six papers in which the SIMBAD team found rotation data for Sirius.
216219

docs/simbad/simbad.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ to query the messier object M1:
6666
main_id ra dec ... coo_wavelength coo_bibcode matched_id
6767
deg deg ...
6868
------- ------- ------- ... -------------- ------------------- ----------
69-
M 1 83.6287 22.0147 ... R 1995AuJPh..48..143S M 1
69+
M 1 83.6324 22.0174 ... X 2022A&A...661A..38P M 1
7070

7171
`Wildcards`_ are supported. Note that this makes the query case-sensitive.
7272
This allows, for instance, to query messier objects from 1 through 9:
@@ -203,12 +203,12 @@ If the center is defined by coordinates, then the best solution is to use a
203203
>>> Simbad.query_region(SkyCoord(31.0087, 14.0627, unit=(u.deg, u.deg),
204204
... frame='galactic'), radius=2 * u.arcsec)
205205
<Table length=2>
206-
main_id ra ... coo_wavelength coo_bibcode
207-
deg ...
208-
object float64 ... str1 object
209-
------------------- ----------------- ... -------------- -------------------
210-
GJ 699 b 269.4520769586187 ... O 2020yCat.1350....0G
211-
NAME Barnard's star 269.4520769586187 ... O 2020yCat.1350....0G
206+
main_id ra ... coo_wavelength coo_bibcode
207+
deg ...
208+
object float64 ... str1 object
209+
--------------------- ----------------- ... -------------- -------------------
210+
NAME Barnard's Star b 269.4520769586187 ... O 2020yCat.1350....0G
211+
NAME Barnard's star 269.4520769586187 ... O 2020yCat.1350....0G
212212

213213
.. Note::
214214

@@ -466,7 +466,7 @@ with:
466466

467467
>>> from astroquery.simbad import Simbad
468468
>>> Simbad.list_votable_fields()[["name", "description"]]
469-
<Table length=115>
469+
<Table length=...>
470470
name description
471471
object object
472472
----------- -------------------------------------------------------
@@ -584,11 +584,12 @@ constraint on the first character of the ``mespm.bibcode`` column
584584
>>> simbad.add_votable_fields("mesPM", "otype")
585585
>>> pm_measurements = simbad.query_object("BD+30 2512", criteria=criteria)
586586
>>> pm_measurements[["main_id", "mespm.pmra", "mespm.pmde", "mespm.bibcode"]]
587-
<Table length=6>
587+
<Table length=7>
588588
main_id mespm.pmra mespm.pmde mespm.bibcode
589589
mas / yr mas / yr
590590
object float32 float32 object
591591
----------- ---------- ---------- -------------------
592+
BD+30 2512 -631.6 -289.5 2016ApJ...817..112S
592593
BD+30 2512 -631.662 -308.469 2020yCat.1350....0G
593594
BD+30 2512 -631.6 -289.5 2016ApJS..224...36K
594595
BD+30 2512 -631.625 -308.495 2018yCat.1345....0G

0 commit comments

Comments
 (0)