bilby.gw.utils.inner_product

bilby.gw.utils.inner_product(aa, bb, frequency, PSD)[source]

Calculate the inner product defined in the matched filter statistic

Parameters:
aa, bb: array_like

Single-sided Fourier transform, created, e.g., by the nfft function above

frequency: array_like

An array of frequencies associated with aa, bb, also returned by nfft

PSD: bilby.gw.detector.PowerSpectralDensity
Returns:
The matched filter inner product for aa and bb