From 0c424d28187e87091d71d74003c806fc3a5b04ab Mon Sep 17 00:00:00 2001 From: Koustav Chandra <56917539+KoustavChandra@users.noreply.github.com> Date: Sun, 4 Oct 2020 21:13:49 +0530 Subject: [PATCH] Added support for threshold (#3487) * Added support for threshold * Update hdf.py * whitespace Co-authored-by: Koustav Chandra --- pycbc/io/hdf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pycbc/io/hdf.py b/pycbc/io/hdf.py index e0fbac4b5b1..8edc2ec38b8 100644 --- a/pycbc/io/hdf.py +++ b/pycbc/io/hdf.py @@ -658,6 +658,11 @@ def newsnr_sgveto_psdvar(self): return ranking.newsnr_sgveto_psdvar(self.snr, self.rchisq, self.sgchisq, self.psd_var_val) + @property + def newsnr_sgveto_psdvar_threshold(self): + return ranking.newsnr_sgveto_psdvar_threshold(self.snr, self.rchisq, + self.sgchisq, self.psd_var_val) + def get_column(self, cname): # Fiducial value that seems to work, not extensively tuned. MFRAC = 0.3