Skip to content

Commit 8f45633

Browse files
authored
Update simbad.rst
Added a detailed example on how to format the RA and Dec fields to return values for specific epochs and equinox. Included the link to the SIMBAD query interface help page containing the full list of possible settings.
1 parent ac6461e commit 8f45633

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/simbad/simbad.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,14 @@ Continuing from the above example:
530530
531531
['main_id', 'coordinates']
532532
533+
Specifying the format of the included VOTable fields
534+
----------------------------------------------------
535+
536+
The output for several of the VOTable fields can be formatted in many different ways described in the help page of the SIMBAD query interface (see Sect. 4.3 of this page: http://simbad.u-strasbg.fr/simbad/sim-help?Page=sim-fscript). As an example, the epoch and equinox for the Right Ascension and Declination can be specified as follows (e.g. epoch of J2017.5 and equinox of 2000):
537+
538+
.. code-block:: python
539+
540+
>>> customSimbad.add_votable_fields('ra(2;A;ICRS;J2017.5;2000)','dec(2;D;ICRS;2017.5;2000)')
533541
534542
535543
Reference/API

0 commit comments

Comments
 (0)