Skip to content

Commit

Permalink
Added support for threshold (#3487)
Browse files Browse the repository at this point in the history
* Added support for threshold

* Update hdf.py

* whitespace

Co-authored-by: Koustav Chandra <koustav.chandra@ldas-pcdev6.ligo-wa.caltech.edu>
  • Loading branch information
koustavchandra and Koustav Chandra authored Oct 4, 2020
1 parent f0fd8ba commit 0c424d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pycbc/io/hdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c424d2

Please sign in to comment.