Functions | |
def | build_REAL4FrequencySeries (series, comment=None) |
def | parse_REAL4FrequencySeries (elem) |
def | build_REAL8FrequencySeries (series, comment=None) |
def | parse_REAL8FrequencySeries (elem) |
def | build_COMPLEX8FrequencySeries (series, comment=None) |
def | parse_COMPLEX8FrequencySeries (elem) |
def | build_COMPLEX16FrequencySeries (series, comment=None) |
def | parse_COMPLEX16FrequencySeries (elem) |
def | build_REAL4TimeSeries (series, comment=None) |
def | parse_REAL4TimeSeries (elem) |
def | build_REAL8TimeSeries (series, comment=None) |
def | parse_REAL8TimeSeries (elem) |
def | build_COMPLEX8TimeSeries (series, comment=None) |
def | parse_COMPLEX8TimeSeries (elem) |
def | build_COMPLEX16TimeSeries (series, comment=None) |
def | parse_COMPLEX16TimeSeries (elem) |
def | make_psd_xmldoc (psddict, xmldoc=None, root_name=u"psd") |
Construct an XML document tree representation of a dictionary of frequency series objects containing PSDs. More... | |
def | read_psd_xmldoc (xmldoc, root_name=u"psd") |
Parse a dictionary of PSD frequency series objects from an XML document. More... | |
Variables | |
Attributes = ligolw.sax.xmlreader.AttributesImpl | |
def lal.series.build_REAL4FrequencySeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_REAL8FrequencySeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_COMPLEX8FrequencySeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_COMPLEX16FrequencySeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_REAL4TimeSeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_REAL8TimeSeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_COMPLEX8TimeSeries | ( | series, | |
comment = None |
|||
) |
def lal.series.build_COMPLEX16TimeSeries | ( | series, | |
comment = None |
|||
) |
def lal.series.make_psd_xmldoc | ( | psddict, | |
xmldoc = None , |
|||
root_name = u"psd" |
|||
) |
Construct an XML document tree representation of a dictionary of frequency series objects containing PSDs.
See also read_psd_xmldoc() for a function to parse the resulting XML documents.
If xmldoc is None (the default), then a new XML document is created and the PSD dictionary added to it inside a LIGO_LW element. If xmldoc is not None then the PSD dictionary is appended to the children of that element inside a new LIGO_LW element. In both cases, the LIGO_LW element's Name attribute is set to root_name. This will be looked for by read_psd_xmldoc() when parsing the PSD document.
def lal.series.read_psd_xmldoc | ( | xmldoc, | |
root_name = u"psd" |
|||
) |
Parse a dictionary of PSD frequency series objects from an XML document.
See also make_psd_xmldoc() for the construction of XML documents from a dictionary of PSDs. Interprets an empty frequency series for an instrument as None.
The XML document tree is searched for a LIGO_LW element whose Name attribute is root_name (default is "psd"). If root_name is None all REAL8Frequency series objects below xmldoc are included in the return value.