From 25ce7d015736fc3e9fd358f7152603e612d40421 Mon Sep 17 00:00:00 2001 From: Patrick Godwin <patrick.godwin@ligo.org> Date: Mon, 14 Oct 2019 14:31:05 -0700 Subject: [PATCH] snax.multirate_datasource.py: add queue after whitener to avoid pipeline hanging after segment boundaries --- gstlal-burst/python/snax/multirate_datasource.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gstlal-burst/python/snax/multirate_datasource.py b/gstlal-burst/python/snax/multirate_datasource.py index f5a7f86bbf..6978df0cb9 100644 --- a/gstlal-burst/python/snax/multirate_datasource.py +++ b/gstlal-burst/python/snax/multirate_datasource.py @@ -190,6 +190,12 @@ def mkwhitened_multirate_src(pipeline, src, rates, native_rate, instrument, psd firelem.set_property("fir-matrix", numpy.array(kernel, ndmin = 2)) whiten.connect_after("notify::mean-psd", set_fir_psd, head, reference_psd.PSDFirKernel()) + # + # extra queue to deal with gaps produced by segmentsrc + # + + head = pipeparts.mkqueue(pipeline, head, max_size_buffers = 0, max_size_bytes = 0, max_size_time = Gst.SECOND * (psd_fft_length + 2)) + # # Drop initial data to let the PSD settle # -- GitLab