diff --git a/simulations/11_pulsed_timing.py b/simulations/11_pulsed_timing.py index 9da6cb4..7c31b82 100755 --- a/simulations/11_pulsed_timing.py +++ b/simulations/11_pulsed_timing.py @@ -111,7 +111,7 @@ def my_correlation(in1, template, lags=None): return corrs, (in1, template, lags) def trace_upsampler(trace, template_t, trace_t): - template_dt = template.t[1] - template.t[0] + template_dt = template_t[1] - template_t[0] trace_dt = trace_t[1] - trace_t[0] upsample_factor = trace_dt/template_dt