Top | ![]() |
![]() |
![]() |
![]() |
#define | GSTLAL_PEAK_INTERP_LENGTH |
enum | gstlal_peak_type_specifier |
struct | gstlal_peak_state |
struct gstlal_peak_state * gstlal_peak_state_new (guint channels
,gstlal_peak_type_specifier type
);
GstBuffer * gstlal_new_buffer_from_peak (struct gstlal_peak_state *input
,GstPad *pad
,guint64 offset
,guint64 length
,GstClockTime time
,guint rate
);
int gstlal_peak_over_window (struct gstlal_peak_state *state
,const void *data
,guint64 length
);
int gstlal_series_around_peak (struct gstlal_peak_state *state
,void *data
,void *outputmat
,guint n
);
int gstlal_float_peak_over_window (struct gstlal_peak_state *state
,const float *data
,guint64 length
);
int gstlal_float_peak_over_window_interp (struct gstlal_peak_state *state
,const float *data
,guint64 length
);
int gstlal_float_series_around_peak (struct gstlal_peak_state *state
,float *data
,float *outputmat
,guint n
);
int gstlal_float_fill_output_with_peak (struct gstlal_peak_state *state
,float *data
,guint64 length
);
int gstlal_double_peak_over_window (struct gstlal_peak_state *state
,const double *data
,guint64 length
);
int gstlal_double_peak_over_window_interp (struct gstlal_peak_state *state
,const double *data
,guint64 length
);
int gstlal_double_series_around_peak (struct gstlal_peak_state *state
,double *data
,double *outputmat
,guint n
);
int gstlal_double_fill_output_with_peak (struct gstlal_peak_state *state
,double *data
,guint64 length
);
int
gstlal_float_complex_peak_over_window (struct gstlal_peak_state *state
);
int
gstlal_float_complex_peak_over_window_interp
(struct gstlal_peak_state *state
);
int
gstlal_float_complex_series_around_peak
(struct gstlal_peak_state *state
);
int
gstlal_float_complex_fill_output_with_peak
(struct gstlal_peak_state *state
);
int
gstlal_double_complex_peak_over_window
(struct gstlal_peak_state *state
);
int
gstlal_double_complex_peak_over_window_interp
(struct gstlal_peak_state *state
);
int
gstlal_double_complex_series_around_peak
(struct gstlal_peak_state *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; };