pyvo.dal.spectrumsearch(baseurl, pos=None, diameter=None, band=None, time=None, format='all', **keywords)

submit a simple SSA query that requests spectra overlapping a given region

baseurl : str

the base URL for the SSA service

pos : SkyCoord class or sequence of two floats

the position of the center of the circular search region. assuming icrs decimal degrees if unit is not specified.

diameter : Quantity class or scalar float

the diameter of the circular region around pos in which to search. assuming icrs decimal degrees if unit is not specified.

band : Quantity class or sequence of two floats

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

time : Time class or sequence of two strings

the datetime range the observations were made in. assuming iso 8601 if format is not specified.

format : str

the image format(s) of interest. “all” indicates all available formats; “graphic” indicates graphical images (e.g. jpeg, png, gif; not FITS); “metadata” indicates that no images should be returned–only an empty table with complete metadata.

**keywords :

additional case insensitive 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.


a container holding a table of matching spectrum records


for errors connecting to or communicating with the service


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

See also