linesearch

pyvo.dal.linesearch(baseurl, wavelength, **keywords)

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

Parameters
baseurlstr

the base URL for the SLA service

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