gstlal 1.13.0
Loading...
Searching...
No Matches
python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler Class Reference
Inheritance diagram for python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler:
Collaboration diagram for python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler:

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())

Detailed Description

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.

Definition at line 54 of file mux.py.

Constructor & Destructor Documentation

◆ __init__()

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.__init__ ( self,
elem,
seglists,
jitter = LIGOTimeGPS(0, 1) )

Definition at line 86 of file mux.py.

Member Function Documentation

◆ pad_added()

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.pad_added ( self,
element,
pad,
seglists )

Definition at line 94 of file mux.py.

◆ probe()

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.probe ( pad,
probeinfo,
seg_jitter_id )
static

Definition at line 113 of file mux.py.

◆ set_probe()

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.set_probe ( cls,
pad,
seglist,
jitter = LIGOTimeGPS(0, 1) )

Definition at line 103 of file mux.py.

Member Data Documentation

◆ jitter

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.jitter = jitter

Definition at line 87 of file mux.py.

◆ pad_added_handler_id

python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.pad_added_handler_id = elem.connect("pad-added", self.pad_added, seglists.copy())

Definition at line 91 of file mux.py.

◆ probe_handler_ids

dict python.pipeparts.mux.FrameCPPChannelDemuxCheckSegmentsHandler.probe_handler_ids = {}

Definition at line 88 of file mux.py.


The documentation for this class was generated from the following file: