Skip to content
Snippets Groups Projects
Commit dda40a90 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

lvalert_background_plotter: add rates pie charts

parent 9a736311
No related branches found
No related tags found
No related merge requests found
......@@ -234,3 +234,13 @@ for gid in gid_list:
filename = os.path.join(options.output_path, filename)
logging.info("writing %s ..." % filename)
fig.savefig(filename)
fig = plotfar.plot_rates(coinc_param_distributions)
filename = "%s_rates.png" % gid
if not options.no_upload:
lvalert_helper.upload_fig(fig, gracedb_client, gid, filename = filename, log_message = "Likelihood Ratio CCDF", tagname = "background")
if options.output_path is not None:
filename = os.path.join(options.output_path, filename)
logging.info("writing %s ..." % filename)
fig.savefig(filename)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment