Skip to content
Snippets Groups Projects
Commit 3bde9f0b authored by Soichiro Kuwahara's avatar Soichiro Kuwahara
Browse files

gstlal_cherenkiv_zl_rank_pdfs:

- perform density estimation and normalization to zero-lag counts
parent d9e17a53
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,14 @@ for n, url in enumerate(urls, 1):
if coinc.coinc_def_id == coinc_def_id and coinc.time_slide_id in zl_time_slide_ids:
rankingstatpdf.zl_lr_lnpdf.count[coinc.likelihood,] += 1
#
# apply density estimation kernel to zero-lag counts
#
rankingstatpdf.density_estimate(rankingstatpdf.zl_lr_lnpdf, "zero-lag")
rankingstatpdf.zl_lr_lnpdf.normalize()
#
# Write the parameter and ranking statistic distribution data to a file
......
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