From 580565eab1dc3b3be8519b40c1f6019f071e11ac Mon Sep 17 00:00:00 2001
From: Chad Hanna <chad.hanna@ligo.org>
Date: Sun, 15 Jul 2018 12:33:41 -0700
Subject: [PATCH] python/multirate_datasource.py: update gating parameters

---
 gstlal/python/multirate_datasource.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gstlal/python/multirate_datasource.py b/gstlal/python/multirate_datasource.py
index 281d46bc7e..603c3869b5 100644
--- a/gstlal/python/multirate_datasource.py
+++ b/gstlal/python/multirate_datasource.py
@@ -198,7 +198,7 @@ def mkwhitened_multirate_src(pipeline, src, rates, instrument, psd = None, psd_f
 	# have 1 second of padding which means the gate itself is 1 second or
 	# less).  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) <= 2.0])
+		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)
 
 	#
@@ -338,7 +338,7 @@ def mkwhitened_multirate_src(pipeline, src, rates, instrument, psd = None, psd_f
 	#
 
 	if veto_segments is not None:
-		long_veto_segments = segments.segmentlist([seg for seg in veto_segments if abs(seg) > 2.0])
+		long_veto_segments = segments.segmentlist(veto_segments).protract(0.25).coalesce()
 		head = pipeparts.mkdeglitcher(pipeline, head, long_veto_segments)
 
 	#
-- 
GitLab