Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org starting at 10am CDT on 2 June 2020 and lasting for around 20 minutes. There will be a short period of downtime, around 5 minutes, towards the end of the maintenance window. Please direct any comments, questions, or concerns to uwm-help@cgca.uwm.edu.

Commit 86134d24 authored by Chad Hanna's avatar Chad Hanna Committed by chad.hanna

update the function prototype for compute_p_astro to include the missing...

update the function prototype for compute_p_astro to include the missing rankingstatpdf and default values for mean_values_dict
parent efaf7275
......@@ -7,6 +7,8 @@ from ligo.lw import utils as ligolw_utils
from ligo.lw import lsctables
from ligo.segments import utils as segments_utils
from lal import rate
from gstlal.far import FAPFAR
import json
def p_astro_update(category, event_bayesfac_dict, mean_values_dict):
"""
......@@ -293,7 +295,13 @@ def compute_p_astro(event_ln_likelihood_ratio,
snr,
far,
livetime,
mean_values_dict):
rankingstatpdf,
mean_values_dict = {"counts_BNS": 2.11050326523,
"counts_NSBH": 1.56679410666,
"counts_BBH": 9.26042350393,
"counts_MassGap": 2.40800240248,
"counts_Terrestrial": 3923}
):
"""
Task to compute `p_astro` by source category.
......
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