|
fromsegmentxml(file,
dict=False,
id=None)
Read a glue.segments.segmentlist from the file object file containing an
xml segment table. |
source code
|
|
|
tosegmentxml(file,
segs)
Write the glue.segments.segmentlist object segs to file object file
in xml format with appropriate tables. |
source code
|
|
|
fromsegmentcsv(csvfile)
Read a glue.segments.segmentlist object from the file object file
containin a comma separated list of segments. |
source code
|
|
|
CBCAnalyzableSegs(seglist)
Remove any segments shorter than 2064 seconds from seglist because
ihope won't analyze them. |
source code
|
|
|
pad_segmentlist(seglist,
start_pad,
end_pad=None)
Given a veto segmentlist, start pad, and end pad, pads and coalesces
the segments. |
source code
|
|
|
crop_segmentlist(seglist,
end_chop=30)
Given a segmentlist and time to chop, removes time from the end of
each segment (defaults to 30 seconds). |
source code
|
|
|
grab_segments(start,
end,
flag,
segment_url='https://segdb.ligo.caltech.edu',
segment_summary=False)
Returns a segmentlist containing the segments during which the given flag
was active in the given period. |
source code
|
|
|
dump_flags(ifos=None,
segment_url=None,
match=None,
unmatch=None,
latest=False)
Returns the list of all flags defined in the database. |
source code
|
|
|
poisson_safety(segs,
injTable,
livetime)
Return a tuple containing the number of vetoed injections, the number
expected, and the Poisson safety probability based on the number of
injections vetoed relative to random chance according to Poisson statistics. |
source code
|
|
|
|
|
DQSegments(time,
data,
dq_key)
Returns a glue.segments.segmentlistdict of active segments for each
bit in a dq_key. |
source code
|
|