parse_coordinates¶
-
astroquery.utils.parse_coordinates(coordinates)[source]¶ Takes a string or astropy.coordinates object. Checks if the string is parsable as an
astropy.coordinatesobject or is a name that is resolvable. Otherwise asserts that the argument is an astropy.coordinates object.Parameters: coordinates : str or
astropy.coordinatesobjectAstronomical coordinate
Returns: coordinates : a subclass of
astropy.coordinates.BaseCoordinateFrameRaises: astropy.units.UnitsError
TypeError