astropy:docs
  • Index
  • Modules

Navigation

  • next »
  • « previous |
  • pyvo v0.6.0 »
  • PyVO User’s Guide »
  • PyVO Reference Guide »
  • The pyvo.dal Package »
  • search

search¶

pyvo.dal.scs.search(url, pos, radius=1.0, verbosity=2, **keywords)[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 : astropy.coordinates.SkyCoord

a SkyCoord instance defining the position of the center of the circular search region. converted if it’s a iterable containing scalars, assuming icrs degrees.

radius : Quantity or float

a Quantity instance defining the radius of the circular search region, in degrees. converted if it is another unit.

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.

**keywords :

additional case insensitive parameters can be given via arbitrary case insensitive keyword arguments. Where there is overlap with the parameters set by the other arguments to this function, these keywords will override.

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.

See also

SCSResults, pyvo.dal.query.DALServiceError, pyvo.dal.query.DALQueryError

Page Contents

  • search

Page Source   Back to Top

© Copyright 2017, the Virtual Astronomical Observatory (VAO).
Created using Sphinx 1.5.2.   Last built 29 Jun 2017.