Data Structures | |
class | CoincDatabase |
Functions | |
def | summarize_coinc_database (contents, filename=None) |
def | coinc_sngl_bursts (contents, coinc_event_id) |
def | get_time_slides (connection) |
Query the database for the IDs and offsets of all time slides, and return two dictionaries one containing the all-zero time slides and the other containing the not-all-zero time slides. More... | |
def | time_slides_livetime (seglists, time_slides, verbose=False) |
Given a sequence of time slides (each of which is an instrument --> offset dictionary), use the segmentlistdict dictionary of segment lists to compute the live time in each time slide. More... | |
def | latexnumber (s) |
Convert a string of the form "d.dddde-dd" to "d.dddd \\times
10^{-dd}". More... | |
def | make_burst_plot (x_label, y_label, width=165.0) |
width is in mm More... | |
Variables | |
floatpattern = re.compile("([+-]?[.0-9]+)[Ee]([+-]?[0-9]+)") | |
def lalburst.SnglBurstUtils.summarize_coinc_database | ( | contents, | |
filename = None |
|||
) |
Definition at line 239 of file SnglBurstUtils.py.
def lalburst.SnglBurstUtils.coinc_sngl_bursts | ( | contents, | |
coinc_event_id | |||
) |
Definition at line 260 of file SnglBurstUtils.py.
def lalburst.SnglBurstUtils.get_time_slides | ( | connection | ) |
Query the database for the IDs and offsets of all time slides, and return two dictionaries one containing the all-zero time slides and the other containing the not-all-zero time slides.
Definition at line 288 of file SnglBurstUtils.py.
def lalburst.SnglBurstUtils.time_slides_livetime | ( | seglists, | |
time_slides, | |||
verbose = False |
|||
) |
Given a sequence of time slides (each of which is an instrument --> offset dictionary), use the segmentlistdict dictionary of segment lists to compute the live time in each time slide.
Return the sum of the live times from all slides.
Definition at line 303 of file SnglBurstUtils.py.
def lalburst.SnglBurstUtils.latexnumber | ( | s | ) |
Convert a string of the form "d.dddde-dd" to "d.dddd \\times 10^{-dd}".
Example:
import math print latexnumber("%.16e" % math.pi) 3.1415926535897931 \times 10^{0}
Definition at line 341 of file SnglBurstUtils.py.
def lalburst.SnglBurstUtils.make_burst_plot | ( | x_label, | |
y_label, | |||
width = 165.0 |
|||
) |
width is in mm
Definition at line 358 of file SnglBurstUtils.py.
lalburst.SnglBurstUtils.floatpattern = re.compile("([+-]?[.0-9]+)[Ee]([+-]?[0-9]+)") |
Definition at line 329 of file SnglBurstUtils.py.