@@ -602,6 +602,62 @@ And the columns in the output can be reset to their default value with
602
602
A detailed description on the ways to add fluxes is available in the
603
603
:ref: `optical filters ` section.
604
604
605
+ Measurement tables
606
+ ^^^^^^^^^^^^^^^^^^
607
+
608
+ Some field names start with ``mes ``. These denote what SIMBAD calls a
609
+ "measurement table". These tables store the history on past measurements of a physical
610
+ parameter for each object.
611
+
612
+ Let's look at the star ``HD 200207 `` with the parallax measurements table ``mesplx ``:
613
+
614
+ .. doctest-remote-data ::
615
+
616
+ >>> from astroquery.simbad import Simbad
617
+ >>> simbad = Simbad()
618
+ >>> simbad.add_votable_fields(" mesplx" )
619
+ >>> hd_200207 = simbad.query_object(" HD 200207" )
620
+ >>> hd_200207[[" main_id" , " mesplx.plx" , " mesplx.plx_err" , " mesplx.bibcode" ]]
621
+ <Table length=5>
622
+ main_id mesplx.plx mesplx.plx_err mesplx.bibcode
623
+ mas mas
624
+ object float32 float32 object
625
+ --------- ---------- -------------- -------------------
626
+ HD 200207 3.4084 0.0195 2020yCat.1350....0G
627
+ HD 200207 3.4552 0.0426 2018yCat.1345....0G
628
+ HD 200207 3.35 0.76 1997A&A...323L..49P
629
+ HD 200207 3.72 0.62 2007A&A...474..653V
630
+ HD 200207 3.25 0.22 2016A&A...595A...2G
631
+
632
+ This field adds one line per parallax measurement: five articles have measured it
633
+ for this star.
634
+
635
+ If you are only interested in the most precise measure recorded by the SIMBAD team, it
636
+ is selected and most of the time available via an other field (not starting by ``mes ``)
637
+ that will only give one line per object with the most precise currently known value.
638
+ The exceptions for which there is no pre-selection of a best value are metallicity
639
+ measurements ``mesfe_h `` and stellar variability reports ``mesvar ``.
640
+
641
+ Here, we could have done:
642
+
643
+ .. doctest-remote-data ::
644
+
645
+ >>> from astroquery.simbad import Simbad
646
+ >>> simbad = Simbad()
647
+ >>> simbad.add_votable_fields(" parallax" )
648
+ >>> hd_200207 = simbad.query_object(" HD 200207" )
649
+ >>> hd_200207[[" main_id" , " plx_value" , " plx_err" , " plx_bibcode" ]]
650
+ <Table length=1>
651
+ main_id plx_value plx_err plx_bibcode
652
+ mas mas
653
+ object float64 float32 object
654
+ --------- --------- ------- -------------------
655
+ HD 200207 3.4084 0.0195 2020yCat.1350....0G
656
+
657
+ And we only have one line per object with the value selected by SIMBAD's team.
658
+
659
+ Thus, choosing to add a measurement field or a simple field depends on your goal.
660
+
605
661
Additional criteria
606
662
-------------------
607
663
0 commit comments