astropy:docs
  • Index
  • Modules

Navigation

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

search¶

pyvo.registry.vao.search(keywords=None, servicetype=None, waveband=None, sqlpred=None)[source]¶

Deprecated since version 0.5: The search function is deprecated and may be removed in a future version.

execute a simple query to the VAO registry.

Parameters:

keywords : str or list of str

keyword terms to match to registry records. Use this parameter to find resources related to a particular topic.

servicetype : str

the service type to restrict results to. Allowed values include, ‘catalog’ (synonyms: ‘table’, ‘scs’, ‘conesearch’, ‘ConeSearch’), ‘image’ (synonyms: ‘sia’, ‘SimpleImageAccess’), ‘spectrum’ (synonyms: ‘ssa’, ‘ssap’, ‘SimpleSpectralAccess’), ‘line’ (synonyms: ‘sla’, ‘slap’, ‘SimpleLineAccess’) ‘database’ (synonyms: ‘tap’,’TableAccess’).

waveband : str

the name of a desired waveband; resources returned will be restricted to those that indicate as having data in that waveband. Allowed, case-insensitive values include ‘Radio’, ‘Millimeter’, ‘Infrared’ (synonym: ‘IR’), ‘Optical’, ‘UV’, ‘EUV’, ‘X-ray’ (synonym: ‘Xray’).

sqlpred : str

an SQL WHERE predicate (without the leading “WHERE”) that further contrains the search against supported keywords.

Returns:

RegistryResults

a container holding a table of matching resource (e.g. services)

See also

RegistryResults

Page Contents

  • search

Page Source   Back to Top

© Copyright 2017, the Virtual Astronomical Observatory (VAO).
Created using Sphinx 1.5.1.   Last built 09 Feb 2017.