Skip to content

Commit

Permalink
docs: update to reflect changes in Simbad
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
ManonMarchand committed Dec 13, 2024
1 parent fda99cf commit 9326717
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
21 changes: 12 additions & 9 deletions docs/simbad/query_tap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,22 +195,25 @@ that is the measurement table for rotations. Their common column is ``oidref``.
.. doctest-remote-data::

>>> from astroquery.simbad import Simbad
>>> query = """SELECT bibcode AS "Rotation Measurements Bibcodes"
>>> query = """SELECT DISTINCT bibcode AS "Rotation Measurements Bibcodes"
... FROM ident JOIN mesrot USING(oidref)
... WHERE id = 'Sirius';
... """
>>> Simbad.query_tap(query)
<Table length=7>
>>> bibcodes = Simbad.query_tap(query)
>>> bibcodes.sort("Rotation Measurements Bibcodes")
>>> bibcodes
<Table length=8>
Rotation Measurements Bibcodes
object
object
------------------------------
2023ApJS..266...11B
2016A&A...589A..83G
2002A&A...393..897R
1995ApJS...99..135A
1970CoKwa.189....0U
1970CoAsi.239....1B
1970CoKwa.189....0U
1995ApJS...99..135A
2002A&A...393..897R
2005yCat.3244....0G
2011A&A...531A.143D
2016A&A...589A..83G
2023ApJS..266...11B

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

Expand Down
19 changes: 10 additions & 9 deletions docs/simbad/simbad.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ to query the messier object M1:
main_id ra dec ... coo_wavelength coo_bibcode matched_id
deg deg ...
------- ------- ------- ... -------------- ------------------- ----------
M 1 83.6287 22.0147 ... R 1995AuJPh..48..143S M 1
M 1 83.6324 22.0174 ... X 2022A&A...661A..38P M 1

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

.. Note::

Expand Down Expand Up @@ -466,7 +466,7 @@ with:

>>> from astroquery.simbad import Simbad
>>> Simbad.list_votable_fields()[["name", "description"]]
<Table length=115>
<Table length=...>
name description
object object
----------- -------------------------------------------------------
Expand Down Expand Up @@ -584,11 +584,12 @@ constraint on the first character of the ``mespm.bibcode`` column
>>> simbad.add_votable_fields("mesPM", "otype")
>>> pm_measurements = simbad.query_object("BD+30 2512", criteria=criteria)
>>> pm_measurements[["main_id", "mespm.pmra", "mespm.pmde", "mespm.bibcode"]]
<Table length=6>
<Table length=7>
main_id mespm.pmra mespm.pmde mespm.bibcode
mas / yr mas / yr
object float32 float32 object
----------- ---------- ---------- -------------------
BD+30 2512 -631.6 -289.5 2016ApJ...817..112S
BD+30 2512 -631.662 -308.469 2020yCat.1350....0G
BD+30 2512 -631.6 -289.5 2016ApJS..224...36K
BD+30 2512 -631.625 -308.495 2018yCat.1345....0G
Expand Down

0 comments on commit 9326717

Please sign in to comment.