|
gstlal 1.13.0
|
Public Member Functions | |
| __init__ (self, elem, seglists, jitter=LIGOTimeGPS(0, 1)) | |
| pad_added (self, element, pad, seglists) | |
| set_probe (cls, pad, seglist, jitter=LIGOTimeGPS(0, 1)) | |
Static Public Member Functions | |
| probe (pad, probeinfo, seg_jitter_id) | |
Public Attributes | |
| jitter = jitter | |
| dict | probe_handler_ids = {} |
| pad_added_handler_id = elem.connect("pad-added", self.pad_added, seglists.copy()) | |
Utility to watch for missing data. Pad probes are used to collect the times spanned by buffers, these are compared to a segment list defining the intervals of data the stream is required to have. If any intervals of data are found to have been skipped or if EOS is seen before the end of the segment list then a ValueError exception is raised. There are two ways to use this tool. To directly install a segment list monitor on a single pad use the .set_probe() class method. For elements with dynamic pads, the class can be allowed to automatically add monitors to pads as they become available by using the element's pad-added signal. In this case initialize an instance of the class with the element and a dictionary of segment lists mapping source pad name to the segment list to check that pad's output against. In both cases a jitter parameter sets the maximum size of a skipped segment that will be ignored (for example, to accomodate round-off error in element timestamp computations). The default is 1 ns.
| python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.__init__ | ( | self, | |
| elem, | |||
| seglists, | |||
| jitter = LIGOTimeGPS(0, 1) ) |
| python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.pad_added | ( | self, | |
| element, | |||
| pad, | |||
| seglists ) |
|
static |
| python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.set_probe | ( | cls, | |
| pad, | |||
| seglist, | |||
| jitter = LIGOTimeGPS(0, 1) ) |
| python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.jitter = jitter |
| python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.pad_added_handler_id = elem.connect("pad-added", self.pad_added, seglists.copy()) |
| dict python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.probe_handler_ids = {} |