SSARecord¶
- class pyvo.dal.SSARecord(results, index, *, session=None)[source]¶
Bases:
SodaRecordMixin
,DatalinkRecordMixin
,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
return the URL that can be used to retrieve the spectrum.
return the modified Julien date (MJD) of the mid-point of the observational data that went into the spectrum
return the declination of the center of the spectrum
The (estimated) size of the image in bytes
return the file format that this the spectrum is stored in
return the name of the instrument (or instruments) that produced the data that went into this spectrum.
return the right ascension of the center of the spectrum
return the title of the spectrum
Methods Summary
broadcast_samp
(*[, client_name])Broadcast the spectrum to
client_name
via SAMPreturn the URL contained in the access URL column which can be used to retrieve the dataset described by this record.
return a default base filename that the dataset available via
getdataset()
can be saved as.suggest_extension
(*[, default])returns a recommended filename extension for the dataset described by this record.
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
- filesize¶
The (estimated) size of the image in bytes
- 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.