Skip to content
Snippets Groups Projects
Commit 075eff2c authored by Kipp Cannon's avatar Kipp Cannon
Browse files

SNRPDF: add get_snr_joint_pdf_binnedarray()

- to return the BinnedArray version of the PDF
parent c26fa326
No related branches found
No related tags found
No related merge requests found
......@@ -375,6 +375,11 @@ class SNRPDF(object):
return frozenset(instruments), frozenset(self.quantize_horizon_distances(horizon_distances).items())
def get_snr_joint_pdf_binnedarray(self, instruments, horizon_distances):
pdf, binnedarray, age = self.snr_joint_pdf_cache[self.snr_joint_pdf_keyfunc(instruments, horizon_distances)]
return binnedarray
def get_snr_joint_pdf(self, instruments, horizon_distances):
pdf, binnedarray, age = self.snr_joint_pdf_cache[self.snr_joint_pdf_keyfunc(instruments, horizon_distances)]
return pdf
......
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