Skip to content
Snippets Groups Projects
Commit 675df275 authored by Sydney Chamberlin's avatar Sydney Chamberlin
Browse files

gstlal_etg: removed unnecessary t_arr_factor option

parent 3ab9eaca
No related branches found
No related tags found
No related merge requests found
......@@ -488,8 +488,6 @@ def parse_command_line():
parser.add_option("-m", "--mismatch", type = "float", default = 0.2, help = "Mismatch between templates, mismatch = 1 - minimal match. Default = 0.2.")
parser.add_option("-q", "--qhigh", type = "float", default = 20, help = "Q high value for half sine-gaussian waveforms. Default = 20.")
parser.add_option("-l", "--latency", action = "store_true", help = "Print latency to output ascii file. Temporary.")
parser.add_option("-t", "--t-arr-factor", type = "float", default = 1.0, help = "Add scaling factor to template time array to increase number of samples. Temporary.")
parser.add_option("--trigger-start-time", metavar = "seconds", help = "Set the start time of the segment to output triggers in GPS seconds. Required unless --data-source=lvshm")
parser.add_option("--trigger-end-time", metavar = "seconds", help = "Set the end time of the segment to output triggers in GPS seconds. Required unless --data-source=lvshm")
......@@ -620,7 +618,7 @@ for channel in channels:
qlow = 4
# generate sine-gaussian templates
dur = max([duration(phi, q, 5e-3) for (phi, q) in phi_ql(flow, fhigh, qlow, qhigh, mismatch = options.mismatch)])
t_arr = numpy.linspace(-dur/2., dur/2., int(numpy.floor(options.t_arr_factor*dur*rate)+1))
t_arr = numpy.linspace(-dur/2., dur/2., int(numpy.floor(dur*rate)+1))
phase = [0, numpy.pi/2.]
basis_params[(channel, rate)] = [(phi, q, duration(phi, q, 5e-3)/2.) for (phi, q) in phi_ql(flow, fhigh, qlow, qhigh, mismatch = options.mismatch)]
thishead = pipeparts.mkqueue(pipeline, thishead, max_size_buffers = 0, max_size_bytes = 0, max_size_time = Gst.SECOND * 30)
......
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