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

multirate_datasource: don't do post whitening deglitching on short segments

parent bb76c95c
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,8 @@ def mkwhitened_multirate_src(pipeline, src, rates, instrument, psd = None, psd_f
#
if veto_segments is not None:
head = pipeparts.mkdeglitcher(pipeline, head, veto_segments)
long_veto_segments = segments.segmentlist([seg for seg in veto_segments if abs(seg) > 2.0])
head = pipeparts.mkdeglitcher(pipeline, head, long_veto_segments)
#
# optional gate on whitened h(t) amplitude. attack and hold are
......
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