Skip to content
Snippets Groups Projects
Commit 406d22a6 authored by Chad Hanna's avatar Chad Hanna
Browse files

multirate_datasource: now that padding is zero by default, choose only...

multirate_datasource: now that padding is zero by default, choose only segments less than 1 second for the pre whitening gating, this will be only the gate files
parent f430ff48
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -194,11 +194,10 @@ def mkwhitened_multirate_src(pipeline, src, rates, instrument, psd = None, psd_f
# FIXME NOTE The pre whitening vetoes are only applied via the
# deglitcher if they are impulse like. What that means is that they
# have to be shorter than 2s (it is assumed that gate vetoes already
# have 1 second of padding which means the gate itself is 1 second or
# less). This should be revisted for O3.
# have to be shorter than 1s.
# This should be revisted for O3.
if veto_segments is not None:
short_veto_segments = segments.segmentlist([seg for seg in veto_segments if abs(seg) <= 1.0]).protract(0.25).coalesce()
short_veto_segments = segments.segmentlist([seg for seg in veto_segments if abs(seg) < 1.0]).protract(0.25).coalesce()
head = pipeparts.mkdeglitcher(pipeline, head, short_veto_segments)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment