simbad_query_id#

astropop.catalogs.simbad.simbad_query_id(ra, dec, limit_angle, name_order=None)#

Query name ids for a star in Simbad.

Parameters:
ra, decfloat or list(float)

RA and DEC decimal degrees coordinates to query. If more than one object is queried, ra and dec must be lists of the same length.

limit_anglestring, float, Angle

Maximum radius for search.

name_orderlist, optional

Order of priority of name prefixes to query. None will use the default order of [‘MAIN_ID’, ‘NAME’, ‘HD’, ‘HR’, ‘HYP’, ‘TYC’, ‘AAVSO’]. Default: None

Returns:
str or list(str)

The ID of each object queried. If a single object is queried, a string is returned. If a list of objects is queried, a list of strings is returned.