Skip to content

Commit

Permalink
CC again
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Mar 11, 2024
1 parent a906a8b commit 3210fe7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pycbc/events/ranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_newsnr_sgveto(trigs, **kwargs): # pylint:disable=unused-argument
return numpy.array(nsnr_sg, ndmin=1, dtype=numpy.float32)


def get_newsnr_sgveto_psdvar(trigs, **kwargs): # pylint:disable=unused-argument
def get_newsnr_sgveto_psdvar(trigs, **kwargs): # pylint:disable=unused-argument
"""
Calculate snr re-weighted by Allen chisq, sine-gaussian veto and
psd variation statistic
Expand All @@ -257,8 +257,7 @@ def get_newsnr_sgveto_psdvar(trigs, **kwargs): # pylint:disable=unused-argument
return numpy.array(nsnr_sg_psd, ndmin=1, dtype=numpy.float32)


def get_newsnr_sgveto_psdvar_threshold(trigs,
**kwargs): # pylint:disable=unused-argument
def get_newsnr_sgveto_psdvar_threshold(trigs, **kwargs): # pylint:disable=unused-argument
"""
Calculate newsnr re-weighted by the sine-gaussian veto and scaled
psd variation statistic
Expand All @@ -284,8 +283,7 @@ def get_newsnr_sgveto_psdvar_threshold(trigs,
return numpy.array(nsnr_sg_psdt, ndmin=1, dtype=numpy.float32)


def get_newsnr_sgveto_psdvar_scaled(trigs,
**kwargs): # pylint:disable=unused-argument
def get_newsnr_sgveto_psdvar_scaled(trigs, **kwargs): # pylint:disable=unused-argument
"""
Calculate newsnr re-weighted by the sine-gaussian veto and scaled
psd variation statistic
Expand All @@ -312,8 +310,7 @@ def get_newsnr_sgveto_psdvar_scaled(trigs,
return numpy.array(nsnr_sg_psdscale, ndmin=1, dtype=numpy.float32)


def get_newsnr_sgveto_psdvar_scaled_threshold(trigs,
**kwargs): # pylint:disable=unused-argument
def get_newsnr_sgveto_psdvar_scaled_threshold(trigs, **kwargs): # pylint:disable=unused-argument
"""
Calculate newsnr re-weighted by the sine-gaussian veto and scaled
psd variation statistic. A further threshold is applied to the
Expand Down

0 comments on commit 3210fe7

Please sign in to comment.