Skip to content
Snippets Groups Projects

Online new extinction

Merged Prathamesh Joshi requested to merge o4b-online-new-extinction into o4b-online
10 unresolved threads
1 file
+ 11
3
Compare changes
  • Side-by-side
  • Inline
@@ -256,10 +256,18 @@ def main():
# get the zerolag pdf for this bin and use it to perform bin-specific extinction
zerolag_counts_url = url_from_registry(reg, zerolag_counts_path)
pdf += far.RankingStatPDF.from_xml(ligolw_utils.load_url(zerolag_counts_url, verbose = options.verbose, contenthandler = far.RankingStat.LIGOLWContentHandler), u"gstlal_inspiral_likelihood")
if data:
data += pdf.new_with_extinction()
if len(numpy.nonzero(pdf.zero_lag_lr_lnpdf.array)[0]) > 0:
# LR calculation has started and we are ready to perform first-round extinction
if data:
data += pdf.new_with_extinction()
else:
data = pdf.new_with_extinction()
else:
data = pdf.new_with_extinction()
logging.warning(f'Skipping first-round extinction for {}')
if data:
data += pdf
else:
data = pdf
# while looping through registries
# send heartbeat messages
@@ -284,7+292,7 @@
# ranking statistic histograms from all jobs. combine with the
# noise and signal model ranking statistic histograms. NOTE: the
# noise and signal model ranking statistic histograms in the
# zero-lag counts files downloaded from the jobs must be all 0, and
# the zero-lag counts in the output generated by
# gstlal_inspiral_calc_rank_pdfs must be 0. NOTE: this is where
# the zero-lag counts have the density estimation transform
Loading