GSTLALToggleComplex

GSTLALToggleComplex — Toggle complex-valued <--> real-valued format.

Synopsis

struct              GSTLALToggleComplex;
struct              GSTLALToggleComplexClass;
#define             GSTLAL_TOGGLECOMPLEX_TYPE

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GSTLALToggleComplex

Description

Stock GStreamer elements do not support complex-valued time series data, but generally do support multi-channel time series data. This element enables the use of such elements with complex-valued time series by changing the caps of complex-valued streams to make them appear to be a real-valued streams with twice as many channels, and also by doing the reverse. For example, a stream containing a single channel of complex-valued floating point data will be changed into two channels of real-valued floating point data (the first channel is the real part, the second channel the complex part). This two-channel data can be processed with, say, the stock audiofirfilter element, to apply the same linear filter to both the real and imaginary components, and then the stream converted back to a single channel of complex-valued data using a second lal_togglecomplex element.

This element is light-weight, it only modifies the buffer metadata.

Reviewed: 8d9a33803cbb87f0844001a2207c5e2e55c9340c 2014-08-10 K. Cannon, J. Creighton, B. Sathyaprakash.

Details

struct GSTLALToggleComplex

struct GSTLALToggleComplex;

struct GSTLALToggleComplexClass

struct GSTLALToggleComplexClass {
	GstBaseTransformClass parent_class;
};

GstBaseTransformClass parent_class;

the parent class

GSTLAL_TOGGLECOMPLEX_TYPE

#define             GSTLAL_TOGGLECOMPLEX_TYPE