From 032af80ada778e18754ff01c8adc04486017a9eb Mon Sep 17 00:00:00 2001 From: Gareth S Cabourn Davies Date: Fri, 4 Aug 2023 15:48:52 +0100 Subject: [PATCH] Update bin/live/pycbc_live_combine_single_fits --- bin/live/pycbc_live_combine_single_fits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/live/pycbc_live_combine_single_fits b/bin/live/pycbc_live_combine_single_fits index 51319090701..d33d9b3aa44 100644 --- a/bin/live/pycbc_live_combine_single_fits +++ b/bin/live/pycbc_live_combine_single_fits @@ -165,7 +165,7 @@ for ifo in args.ifos: r = c / l_times[ad_order] cons_rate = np.percentile(r, args.conservative_percentile) cons_counts_out[ifo][counter] = cons_rate * l_times[ad_order].sum() - counts_out[ifo][counter] = np.average(r) * l_times[ad_order].sum() + counts_out[ifo][counter] = np.mean(r) * l_times[ad_order].sum() fout_ifo[f'separate_fits/bin_{counter:d}/fit_coeff'] = a fout_ifo[f'separate_fits/bin_{counter:d}/counts'] = c