gstlal_peakfinder

gstlal_peakfinder

Functions

Types and Values

Description

Functions

gstlal_peak_state_new ()

struct gstlal_peak_state *
gstlal_peak_state_new (guint channels,
                       gstlal_peak_type_specifier type);


gstlal_peak_state_free ()

int
gstlal_peak_state_free (struct gstlal_peak_state *state);


gstlal_peak_state_clear ()

int
gstlal_peak_state_clear (struct gstlal_peak_state *state);


gstlal_new_buffer_from_peak ()

GstBuffer *
gstlal_new_buffer_from_peak (struct gstlal_peak_state *input,
                             GstPad *pad,
                             guint64 offset,
                             guint64 length,
                             GstClockTime time,
                             guint rate);


gstlal_peak_over_window ()

int
gstlal_peak_over_window (struct gstlal_peak_state *state,
                         const void *data,
                         guint64 length);


gstlal_series_around_peak ()

int
gstlal_series_around_peak (struct gstlal_peak_state *state,
                           void *data,
                           void *outputmat,
                           guint n);


gstlal_float_peak_over_window ()

int
gstlal_float_peak_over_window (struct gstlal_peak_state *state,
                               const float *data,
                               guint64 length);


gstlal_float_peak_over_window_interp ()

int
gstlal_float_peak_over_window_interp (struct gstlal_peak_state *state,
                                      const float *data,
                                      guint64 length);


gstlal_float_series_around_peak ()

int
gstlal_float_series_around_peak (struct gstlal_peak_state *state,
                                 float *data,
                                 float *outputmat,
                                 guint n);


gstlal_float_fill_output_with_peak ()

int
gstlal_float_fill_output_with_peak (struct gstlal_peak_state *state,
                                    float *data,
                                    guint64 length);


gstlal_double_peak_over_window ()

int
gstlal_double_peak_over_window (struct gstlal_peak_state *state,
                                const double *data,
                                guint64 length);


gstlal_double_peak_over_window_interp ()

int
gstlal_double_peak_over_window_interp (struct gstlal_peak_state *state,
                                       const double *data,
                                       guint64 length);


gstlal_double_series_around_peak ()

int
gstlal_double_series_around_peak (struct gstlal_peak_state *state,
                                  double *data,
                                  double *outputmat,
                                  guint n);


gstlal_double_fill_output_with_peak ()

int
gstlal_double_fill_output_with_peak (struct gstlal_peak_state *state,
                                     double *data,
                                     guint64 length);


gstlal_float_complex_peak_over_window ()

int
gstlal_float_complex_peak_over_window (struct gstlal_peak_state *state);


gstlal_float_complex_peak_over_window_interp ()

int
gstlal_float_complex_peak_over_window_interp
                               (struct gstlal_peak_state *state);


gstlal_float_complex_series_around_peak ()

int
gstlal_float_complex_series_around_peak
                               (struct gstlal_peak_state *state);


gstlal_float_complex_fill_output_with_peak ()

int
gstlal_float_complex_fill_output_with_peak
                               (struct gstlal_peak_state *state);


gstlal_double_complex_peak_over_window ()

int
gstlal_double_complex_peak_over_window
                               (struct gstlal_peak_state *state);


gstlal_double_complex_peak_over_window_interp ()

int
gstlal_double_complex_peak_over_window_interp
                               (struct gstlal_peak_state *state);


gstlal_double_complex_series_around_peak ()

int
gstlal_double_complex_series_around_peak
                               (struct gstlal_peak_state *state);


gstlal_double_complex_fill_output_with_peak ()

int
gstlal_double_complex_fill_output_with_peak
                               (struct gstlal_peak_state *state);

Types and Values

GSTLAL_PEAK_INTERP_LENGTH

#define GSTLAL_PEAK_INTERP_LENGTH 5


enum gstlal_peak_type_specifier

Members

GSTLAL_PEAK_FLOAT

   

GSTLAL_PEAK_DOUBLE

   

GSTLAL_PEAK_COMPLEX

   

GSTLAL_PEAK_DOUBLE_COMPLEX

   

GSTLAL_PEAK_TYPE_COUNT

   

struct gstlal_peak_state

struct gstlal_peak_state {
	guint channels;
	guint num_events;
	guint *samples;
	double *interpsamples;
	/* should sync with gstlal_peak_type */
	union {
		float * as_float;
		double * as_double;
		float complex * as_float_complex;
		double complex * as_double_complex;
		} values;
	/* should sync with gstlal_peak_type */
	union {
		float * as_float;
		double * as_double;
		float complex * as_float_complex;
		double complex * as_double_complex;
		} interpvalues;
	gstlal_peak_type_specifier type;
	guint unit;
	guint pad;
	double thresh;

	/* Interpolator */
	LanczosTriggerInterpolant *interp;
};