Top | ![]() |
![]() |
![]() |
![]() |
GSTLALSegmentSrcGSTLALSegmentSrc — The output is a buffer of boolean values specifying when a list of segments are on and off. |
#define | GSTLAL_SEGMENTSRC_TYPE |
struct | GSTLALSegmentSrc |
struct | GSTLALSegmentSrcClass |
Generates a one-channel boolean-valued stream from the segment-list
property, which must be set to an array of two-element arrays of
start/stop time pairs. If invert-output is False
the start/stop pairs
are taken to give intervals when the output is True
, otherwise they are
taken to gve intervals when the output is False
.
The element can be seeked, but when seeked the requested start time must be set.
Reviewed: a2d52f933cd71abc2effa66b46d030ee605e7cea 2014-08-13 K. Cannon, J. Creighton, B. Sathyaprakash.
Actions:
Fix hard coded width.i
There is a *fixme* issue on line 498 that must be looked at.
Write an illustration to describe how start and stop times of segments are hanelded and if logic covers all cases possible.
Completed Action:
Wrote a unit test
“invert-output”
property“invert-output” gboolean
False = output is high in segments (default), True = output is low in segments.
Flags: Read / Write / Construct
Default value: FALSE
“segment-list”
property“segment-list” GValueArray *
List of Segments. This is an Nx2 array where N (the rows) is the number of segments. The columns are the start and stop times of each segment.
Flags: Read / Write