template_bank_generator_HM.compute_snr_efficiency#

Back to Module page

Summary#

Computes factor by which overlap degrades = SNR efficiency

Signature#

def compute_snr_efficiency(wf_true, wf_temp, fs, asds)
Input variables#

Name

Type

Default

Description

wf_true

n_wf x len(fs) array w/ true frequency domain waveforms (units of 1/Hz), can be vector if n_wf = 1

wf_temp

n_wf x len(fs) array w/ template frequency domain waveforms (units of 1/Hz), can be vector if n_wf = 1

fs

Array with regularly spaced frequencies (units of Hz)

asds

ASDs in units of 1/sqrt(Hz) at fs. Take care that there are no zero or very small values

Output variables#

Return annotation

Docstring type

Description

None

Scalar or array of length n_wf with overlaps

Docstring#

Computes factor by which overlap degrades = SNR efficiency
:param wf_true: n_wf x len(fs) array w/ true frequency domain waveforms
                (units of 1/Hz), can be vector if n_wf = 1
:param wf_temp: n_wf x len(fs) array w/ template frequency domain waveforms
                (units of 1/Hz), can be vector if n_wf = 1
:param fs: Array with regularly spaced frequencies (units of Hz)
:param asds: ASDs in units of 1/sqrt(Hz) at fs. Take care that there are no
             zero or very small values
:return: Scalar or array of length n_wf with overlaps