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

reference_psd.interpolate_psd(): allow resolution reduction

- tests on O2 spectra show that BNS horizon distances are preserved up to at least factors of 16 resolution reduction
parent 0cd44411
No related branches found
No related tags found
No related merge requests found
......@@ -699,12 +699,11 @@ class PSDFirKernel(object):
def interpolate_psd(psd, deltaF):
#
# no-op? and disallow resolution reduction
# no-op?
#
if deltaF == psd.deltaF:
return psd
assert deltaF < psd.deltaF
#
# interpolate PSD by clipping/zero-padding time-domain impulse
......
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