Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22nd September 2020 starting at approximately 9am MST.It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit 25ce7d01 authored by Patrick Godwin's avatar Patrick Godwin

snax.multirate_datasource.py: add queue after whitener to avoid pipeline...

snax.multirate_datasource.py: add queue after whitener to avoid pipeline hanging after segment boundaries
parent 9164669b
......@@ -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
#
......
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