object2sexapos

pyvo.nameresolver.sesame.object2sexapos(names, db='Simbad', mirror=None)[source]

resolve one or more object names each to a sesagesimal-formatted position.

Parameters:

names : str or list of str

either a single object name (as a string) or a list of object names (as in a list of strings).

db : str

the object database to consult as a case-insennitive, minimum match to one of [“Simbad”, “NED”, “Vizier”].

mirror : str

Choose the service mirror by a name that is one of “cds” or “cfa”. The default will be service pointed to by the modeule attribute, default_endpoint. (see also set_default_endpoint().)

Returns:

tuple

2-element floating point position if a single name was provided

list of tuples

if a list of names was given