From bf4c0f66401146907c8c237c30a99c01f8d40b3e Mon Sep 17 00:00:00 2001 From: Patrick Godwin <patrick.godwin@ligo.org> Date: Thu, 1 Mar 2018 06:23:06 -0800 Subject: [PATCH] idq_multirate_datasource.py: commented out initial low-pass filter since it is not clear that we get the intended behavior for output triggers --- gstlal-ugly/python/idq_multirate_datasource.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gstlal-ugly/python/idq_multirate_datasource.py b/gstlal-ugly/python/idq_multirate_datasource.py index 36ddc6d272..403583f3a7 100644 --- a/gstlal-ugly/python/idq_multirate_datasource.py +++ b/gstlal-ugly/python/idq_multirate_datasource.py @@ -137,11 +137,11 @@ def mkwhitened_multirate_src(pipeline, src, rates, native_rate, instrument, psd # high pass filter # FIXME: don't hardcode native rate cutoff for high-pass filtering - if native_rate >= 128: - kernel = reference_psd.one_second_highpass_kernel(max_rate, cutoff = 12) - block_stride = block_duration * max_rate // Gst.SECOND - assert len(kernel) % 2 == 1, "high-pass filter length is not odd" - head = pipeparts.mkfirbank(pipeline, head, fir_matrix = numpy.array(kernel, ndmin = 2), block_stride = block_stride, time_domain = False, latency = (len(kernel) - 1) // 2) + #if native_rate >= 128: + # kernel = reference_psd.one_second_highpass_kernel(max_rate, cutoff = 12) + # block_stride = block_duration * max_rate // Gst.SECOND + # assert len(kernel) % 2 == 1, "high-pass filter length is not odd" + # head = pipeparts.mkfirbank(pipeline, head, fir_matrix = numpy.array(kernel, ndmin = 2), block_stride = block_stride, time_domain = False, latency = (len(kernel) - 1) // 2) # # add a reblock element. the whitener's gap support isn't 100% yet -- GitLab