SSARecord¶
-
class
pyvo.dal.ssa.
SSARecord
(results, index)[source]¶ Bases:
pyvo.dal.query.Record
a dictionary-like container for data in a record from the results of an SSA query, describing an available spectrum.
The commonly accessed metadata which are stadardized by the SSA protocol are available as attributes. If the metadatum accessible via an attribute is not available, the value of that attribute will be None. All metadata, including non-standard metadata, are acessible via the
get(
key)
function (or the [key] operator) where key is table column name.Attributes Summary
acref
return the URL that can be used to retrieve the spectrum. dateobs
return the modified Julien date (MJD) of the mid-point of the dec
return the declination of the center of the spectrum format
return the file format that this the spectrum is stored in instr
return the name of the instrument (or instruments) that produced the ra
return the right ascension of the center of the spectrum title
return the title of the spectrum Methods Summary
getdataurl
()return the URL contained in the access URL column which can be used suggest_dataset_basename
()return a default base filename that the dataset available via suggest_extension
([default])returns a recommended filename extension for the dataset described Attributes Documentation
-
acref
¶ return the URL that can be used to retrieve the spectrum.
-
dateobs
¶ return the modified Julien date (MJD) of the mid-point of the observational data that went into the spectrum
-
dec
¶ return the declination of the center of the spectrum
-
format
¶ return the file format that this the spectrum is stored in
-
instr
¶ return the name of the instrument (or instruments) that produced the data that went into this spectrum.
-
ra
¶ return the right ascension of the center of the spectrum
-
title
¶ return the title of the spectrum
Methods Documentation
-
getdataurl
()[source]¶ return the URL contained in the access URL column which can be used to retrieve the dataset described by this record. None is returned if no such column exists.
-