Commit 18434d24 authored by Cody Messick's avatar Cody Messick

gstlal_snglinspiral: remove old code that breaks analysis when not passing snr

time series from itacac to python
parent 06b56004
Pipeline #81839 failed with stages
in 20 minutes and 30 seconds
......@@ -332,7 +332,6 @@ int populate_snglinspiral_buffer(GstBuffer *srcbuf, struct gstlal_peak_state *in
{
guint channel;
guint L1_snr_timeseries_length, H1_snr_timeseries_length, V1_snr_timeseries_length, K1_snr_timeseries_length;
gboolean provided_empty_trigger = FALSE;
for(channel = 0; channel < input->channels; channel++) {
struct GSTLALSnglInspiral *event;
SnglInspiralTable *parent;
......@@ -417,14 +416,8 @@ int populate_snglinspiral_buffer(GstBuffer *srcbuf, struct gstlal_peak_state *in
/* Use BLAS to do the copy */
gsl_blas_ccopy (&(V1_snr_vector_view.vector), &(V1_snr_series_view.vector));
}
} else {
if(!provided_empty_trigger) {
//fprintf(stderr, "allocating snglinspiral with 0 length for %s event\n", bankarray[channel].ifo);
provided_empty_trigger = TRUE;
event = gstlal_snglinspiral_new(0,0,0,0);
} else
return 0;
}
} else
event = gstlal_snglinspiral_new(0,0,0,0);
if (!event) {
/* FIXME handle error */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment