Skip to content
Snippets Groups Projects
Commit 151911e0 authored by Prathamesh Joshi's avatar Prathamesh Joshi
Browse files

minor debug

parent a2168231
No related branches found
No related tags found
1 merge request!564Online new extinction
Pipeline #583227 passed with warnings
......@@ -520,6 +520,9 @@ def binned_log_likelihood_ratio_rates_from_samples(signal_lr_lnpdf, noise_lr_lnp
class RankingStatPDF(object):
ligo_lw_name_suffix = u"gstlal_inspiral_rankingstatpdf"
self.extinction_fitting_limits = (1/2., 1/100.)
# extinction curve fitting is done for the range of LRs
# corresponding to the 1/2 and 1/100 point of the zl CCDF
@staticmethod
def density_estimate(lnpdf, name, kernel = rate.gaussian_window(4.)):
......@@ -636,10 +639,6 @@ class RankingStatPDF(object):
self.signal_lr_lnpdf.array *= rankingstat.numerator.candidate_count_model() / self.signal_lr_lnpdf.array.sum()
self.signal_lr_lnpdf.normalize()
self.extinction_fitting_limits = (1/2., 1/100.)
# extinction curve fitting is done for the range of LRs
# corresponding to the 1/2 and 1/100 point of the zl CCDF
def copy(self):
new = self.__class__(None)
......
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