File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -530,6 +530,27 @@ 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
537+ different ways described in the help page of the SIMBAD query interface (see
538+ Sect. 4.3 of `this page
539+ <http://simbad.u-strasbg.fr/simbad/sim-help?Page=sim-fscript> `__). As an
540+ example, the epoch and equinox for the Right Ascension and Declination can
541+ be specified as follows (e.g. epoch of J2017.5 and equinox of 2000):
542+
543+ .. code-block :: python
544+
545+ >> > customSimbad.add_votable_fields(' ra(2;A;ICRS;J2017.5;2000)' , ' dec(2;D;ICRS;2017.5;2000)' )
546+ >> > customSimbad.remove_votable_fields(' coordinates' )
547+ >> > customSimbad.query_object(" HD189733" )
548+ < Table masked= True length= 1 >
549+ MAIN_ID RA_2_A_ICRS_J2017_5_2000 DEC_2_D_ICRS_2017_5_2000
550+ " h:m:s" " d:m:s"
551+ object str13 str13
552+ -------- - ------------------------ ------------------------
553+ HD 189733 20 00 43.7107 + 22 42 39.064
533554
534555
535556 Reference/API
You can’t perform that action at this time.
0 commit comments