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
+ 0
14
Compare changes
  • Side-by-side
  • Inline
@@ -754,20 +754,6 @@ WHERE
self.noise_lr_lnpdf.array = bg_pdf_extinct
self.noise_lr_lnpdf.normalize()
#
# never allow PDFs that have had the extinction model
# applied to be written to disk: on-disk files must only
# ever provide the original data. forbid PDFs that have
# been extincted from being re-extincted.
#
def new_with_extinction(*args, **kwargs):
raise NotImplementedError("re-extincting an extincted RankingStatPDF object is forbidden")
self.new_with_extinction = new_with_extinction
def to_xml(*args, **kwargs):
raise NotImplementedError("writing extincted RankingStatPDF object to disk is forbidden")
self.to_xml = to_xml
return self
Loading