You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/simbad/simbad.rst
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -439,6 +439,39 @@ See that link for details of how these queries are formed.
439
439
NAMESGR A EAST174547-2900.24418000.00018000.0001 E
440
440
441
441
442
+
Object type criteria
443
+
--------------------
444
+
445
+
SIMBAD sets a ``maintype`` for each astronomical object that is related to the real type classification. Other object types (``otypes``) are given, which are related to some types coming from some surveys/observations. Depending on your needs, ``maintype`` or ``otype`` fields can be used.
446
+
To use all subcategories of an object type, ``maintypes`` or ``otypes`` fields can also be used.
447
+
See the dedicated SIMBAD `documentation on object types <https://simbad.cds.unistra.fr/guide/otypes/>`__.
448
+
449
+
.. code-block:: python
450
+
451
+
>>>from astroquery.simbad import Simbad
452
+
>>> result = Simbad.query_criteria('region(CIRCLE, Trapezium Nebula, 3m)', maintypes='YSO')
0 commit comments