Skip to content
Snippets Groups Projects
Commit eb9c6cd0 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

changed tolerance in duration to be 1e-3

parent be9041a4
No related branches found
No related tags found
No related merge requests found
...@@ -345,7 +345,7 @@ for channel in channels: ...@@ -345,7 +345,7 @@ for channel in channels:
#flow = data_source_info.channel_dict[channel]['flow'] #flow = data_source_info.channel_dict[channel]['flow']
#fhigh = data_source_info.channel_dict[channel]['fhigh'] #fhigh = data_source_info.channel_dict[channel]['fhigh']
#qhigh = data_source_info.channel_dict[channel]['qhigh'] #qhigh = data_source_info.channel_dict[channel]['qhigh']
dur = max([duration(phi, q) for (phi, q) in phi_ql(flow, fhigh, qlow, qhigh)]) dur = max([duration(phi, q, 1e-3) for (phi, q) in phi_ql(flow, fhigh, qlow, qhigh)])
t_arr = numpy.linspace(-dur/2., dur/2., int(dur*rate)) t_arr = numpy.linspace(-dur/2., dur/2., int(dur*rate))
phase = [0, numpy.pi/2.] phase = [0, numpy.pi/2.]
durations[(channel, rate)] = dur durations[(channel, rate)] = dur
......
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