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

tweaked itac test

parent ed29f78b
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ def peak_test_01a(pipeline):
gap_frequency = 0.1 # Hz
gap_threshold = 0.7 # of 1
buffer_length = 1.0 # seconds
test_duration = 1000.0 # seconds
test_duration = 10.0 # seconds
peak_window = 16 # samples
wave = 0
......@@ -48,8 +48,9 @@ def peak_test_01a(pipeline):
head = test_common.gapped_complex_test_src(pipeline, buffer_length = buffer_length, rate = in_rate, test_duration = test_duration, wave = wave, freq = sine_frequency, gap_frequency = gap_frequency, gap_threshold = gap_threshold, control_dump_filename = "itac_test_01a_control.dump", tags = "instrument=H1,channel-name=LSC-STRAIN,units=strain")
head = tee = pipeparts.mktee(pipeline, head)
head = pipeparts.mkqueue(pipeline, pipeparts.mkitac(pipeline, head, peak_window, "test_bank.xml", autocorrelation_matrix = numpy.array([[1+1.j, 0+0.j, 0+0.j]])))
head = pipeparts.mkqueue(pipeline, pipeparts.mkitac(pipeline, head, peak_window, "test_bank.xml", autocorrelation_matrix = numpy.array([[0+0.j, 0+0.j, 1+1.j, 0+0.j, 0+0.j]])))
head = pipeparts.mkprogressreport(pipeline, head, "test")
#
# output the before and after
#
......
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