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 floatsthe 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.