From 885df3e1cac72bdc6fe29dfcde7dd8c4d6b4004c Mon Sep 17 00:00:00 2001 From: ChiWai Chan <chiwai.chan@ligo.org> Date: Thu, 14 Mar 2019 04:39:19 +0900 Subject: [PATCH] cbc_template_fir: whitespace --- gstlal-inspiral/python/cbc_template_fir.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gstlal-inspiral/python/cbc_template_fir.py b/gstlal-inspiral/python/cbc_template_fir.py index f6f9eba28a..6490b26aa6 100644 --- a/gstlal-inspiral/python/cbc_template_fir.py +++ b/gstlal-inspiral/python/cbc_template_fir.py @@ -156,6 +156,7 @@ def generate_template(template_bank_row, approximant, sample_rate, duration, f_l hplus = fseries return hplus + def condition_imr_template(approximant, data, epoch_time, sample_rate_max, max_ringtime): assert -len(data) / sample_rate_max <= epoch_time < 0.0, "Epoch returned follows a different convention" # find the index for the peak sample using the epoch returned by @@ -176,6 +177,7 @@ def condition_imr_template(approximant, data, epoch_time, sample_rate_max, max_r # done return data, target_index + def condition_ear_warn_template(approximant, data, epoch_time, sample_rate_max, max_shift_time): assert -len(data) / sample_rate_max <= epoch_time < 0.0, "Epoch returned follows a different convention" # find the index for the peak sample using the epoch returned by @@ -188,6 +190,7 @@ def condition_ear_warn_template(approximant, data, epoch_time, sample_rate_max, data = numpy.roll(data, target_index-epoch_index) return data, target_index + def compute_autocorrelation_mask( autocorrelation ): ''' Given an autocorrelation time series, estimate the optimal -- GitLab