Skip to content

Commit

Permalink
Update bin/live/pycbc_live_combine_single_fits
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies authored Aug 4, 2023
1 parent dfde676 commit 032af80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/live/pycbc_live_combine_single_fits
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 032af80

Please sign in to comment.