search¶
-
pyvo.dal.scs.
search
(url, pos, radius=1.0, verbosity=2)[source]¶ submit a simple Cone Search query that requests objects or observations whose positions fall within some distance from a search position.
Parameters: url : str
the base URL of the query service.
pos : 2-element tuple of floats
a 2-element tuple containing the ICRS right ascension and declination defining the position of the center of the circular search region, in decimal degrees
radius : float
the radius of the circular search region, in decimal degrees
verbosity : int
an integer value that indicates the volume of columns to return in the result table. 0 means the minimum set of columsn, and 3 means as many columns as are available.
Returns: SCSResults
a container holding a table of matching catalog records
Raises: DALServiceError
for errors connecting to or communicating with the service
DALQueryError
if the service responds with an error, including a query syntax error.