bilby.gw.utils.noise_weighted_inner_product

bilby.gw.utils.noise_weighted_inner_product(aa, bb, power_spectral_density, duration)[source]

Calculate the noise weighted inner product between two arrays.

Parameters:
aa: array_like

Array to be complex conjugated

bb: array_like

Array not to be complex conjugated

power_spectral_density: array_like

Power spectral density of the noise

duration: float

duration of the data

Returns:
Noise-weighted inner product.