simulation module

Review status

Names

Hash

Date

Sathya, Duncan Me, Jolien, Kipp, Chad

7536db9d496be9a014559f4e273e1e856047bf71

2014-05-02

class simulation.ContentHandler(document, start_handlers={})[source]

Bases: LIGOLWContentHandler

startColumn(parent, attrs)
startStream(parent, attrs, __orig_startStream=<function LIGOLWContentHandler.startStream>)
startTable(parent, attrs, __orig_startTable=<function use_in.<locals>.startTable>)
simulation.sim_inspiral_to_segment_list(fname, pad=1, verbose=False)[source]

Given an xml file create a segment list that marks the time of an injection with padding

  • fname: the xml file name

  • pad: duration in seconds to pad the coalescence time when producing a segment, e.g., [tc-pad, tc+pad)