Commit d18d8591 authored by chad.hanna's avatar chad.hanna

gstlal_inspiral_svd_bank_pipe: handle clipping edge cases the same as offline

parent b18ca978
Pipeline #54488 passed with stages
in 29 minutes and 10 seconds
......@@ -158,6 +158,10 @@ for i, f in enumerate(groups):
# handle the edges by not clipping so you retain the template bank as intended.
clipleft = [options.overlap / 2] * len(f) # overlap must be even
clipright = [options.overlap / 2] * len(f) # overlap must be even
if i == 0:
clipleft[0] = 0
if i == len(groups) - 1:
clipright[-1] = 0
bank_ids = range(bank_ids[-1] + 1, bank_ids[-1] + 1 + len(f))
svd_bank_name = dagparts.T050017_filename(ifo, "GSTLAL_SVD_BANK_%d" % i, (0, 0), ".xml.gz", path = svdJob.output_path)
svd_bank_name = os.path.join(os.getcwd(), svd_bank_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment