SLAQuery¶
-
class
pyvo.dal.sla.
SLAQuery
(baseurl, version='1.0', request='queryData')[source]¶ Bases:
pyvo.dal.query.DALQuery
a class for preparing an query to an SLA service. Query constraints are added via its service type-specific methods. The various execute() functions will submit the query and return the results.
The base URL for the query, which controls where the query will be sent when one of the execute functions is called, is typically set at construction time; however, it can be updated later via the
baseurl
to send a configured query to another service.In addition to the search constraint attributes described below, search parameters can be set generically by name via the dict semantics. The class attribute,
std_parameters
, list the parameters defined by the SLA standard.The typical function for submitting the query is
execute()
; however, alternate execute functions provide the response in different forms, allowing the caller to take greater control of the result processing.initialize the query object with a baseurl and request type
Attributes Summary
format
This parameter is used to only to retrieve a expressly empty result for the benefit of receiving table header information. std_parameters
wavelength
the wavelength range given in a range-list format in units of meters Attributes Documentation
-
format
¶ This parameter is used to only to retrieve a expressly empty result for the benefit of receiving table header information. When set to the special value of “metadata”, all other constraints will be ignored and an empty result will be returned.
-
std_parameters
= ['REQUEST', 'VERSION', 'WAVELENGTH', 'CHEMICAL_ELEMENT', 'INITIAL_LEVEL_ENERGY', 'FINAL_LEVEL_ENERGY', 'TEMPERATURE', 'EINSTEIN_A', 'PROCESS_TYPE', 'PROCESS_NAME', 'FORMAT']¶
-
wavelength
¶ the wavelength range given in a range-list format in units of meters
Examples of proper format include:
0.20/0.21.5 a wavelength range that includes 21cm 2.7E-7/0.13 a bandpass from optical to radio
-