From a711ad3aacbdfcce4e276511567db5c80be5d099 Mon Sep 17 00:00:00 2001 From: Tito Dal Canton Date: Wed, 8 May 2024 16:39:01 +0200 Subject: [PATCH] More cleanup --- bin/pycbc_multi_inspiral | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/pycbc_multi_inspiral b/bin/pycbc_multi_inspiral index 13475d9f5df..6ff736cc5a0 100755 --- a/bin/pycbc_multi_inspiral +++ b/bin/pycbc_multi_inspiral @@ -33,7 +33,6 @@ import h5py import pycbc.version from pycbc import ( - detector, fft, init_logging, inject, @@ -515,7 +514,9 @@ with ctx: logging.info("Template bank size after thinning: %d", n_bank) logging.info("Calculating antenna pattern functions at every sky position") - antenna_pattern = calculate_antenna_patterns(args.instruments, t_gps) + antenna_pattern = sky_positions.calculate_antenna_patterns( + args.instruments, t_gps + ) logging.info("Starting the filtering...") # Loop over templates