astropy:docs
  • Index
  • Modules

Navigation

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

search¶

pyvo.dal.sla.search(url, wavelength, **keywords)[source]¶

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

Parameters:

url : str

the base URL for the SLA service

wavelength : 2 element sequence of floats

a 2-element sequence giving the wavelength spectral range to search in meters

**keywords

additional parameters can be given via arbitrary keyword arguments. These can be either standard parameters (with names drown from the SSAQuery.std_parameters list) or paramters custom to the service. 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.1.   Last built 09 Feb 2017.