GSTLALSegmentSrc

GSTLALSegmentSrc — The output is a buffer of boolean values specifying when a list of segments are on and off.

Synopsis

struct              GSTLALSegmentSrc;
struct              GSTLALSegmentSrcClass;
#define             GSTLAL_SEGMENTSRC_TYPE

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSrc
                     +----GSTLALSegmentSrc

Properties

  "invert-output"            gboolean              : Read / Write / Construct
  "segment-list"             GValueArray*          : Read / Write

Description

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.

Details

struct GSTLALSegmentSrc

struct GSTLALSegmentSrc;

struct GSTLALSegmentSrcClass

struct GSTLALSegmentSrcClass {
    GstBaseSrcClass     parent_class;
};

GstBaseSrcClass parent_class;

the parent class

GSTLAL_SEGMENTSRC_TYPE

#define             GSTLAL_SEGMENTSRC_TYPE

Property Details

The "invert-output" property

  "invert-output"            gboolean              : Read / Write / Construct

False = output is high in segments (default), True = output is low in segments.

Default value: FALSE


The "segment-list" property

  "segment-list"             GValueArray*          : Read / Write

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.