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.sla.search(baseurl, wavelength, **keywords)[source]¶

submit a simple SLA query that requests spectral lines within a wavelength range

Parameters:

baseurl : str

the base URL for the SLA service

wavelength : Quantity class or sequence of two floats

the bandwidth range the observations belong to. assuming meters if unit is not specified.

**keywords :

additional 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:

SLAResults

a container holding a table of matching spectral lines

Raises:

DALServiceError

for errors connecting to or communicating with the service

DALQueryError

if the service responds with an error, including a query syntax error.

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.