bilby.gw.utils.overlap
- bilby.gw.utils.overlap(signal_a, signal_b, power_spectral_density=None, delta_frequency=None, lower_cut_off=None, upper_cut_off=None, norm_a=None, norm_b=None)[source]
Compute the overlap between two signals
\[{\cal O} = \frac{4 \Delta f}{N_{a} N_{b}} \sum_{i} \frac{h^{*}_{a,i} h_{b,i}}{S_{i}}\]- Parameters:
- signal_a: array-like
- signal_b: array-like
- power_spectral_densityarray-like
- delta_frequency: float
Frequency spacing of the signals
- lower_cut_off: float
Minimum frequency for the integral
- upper_cut_off: float
Maximum frequency for the integral
- norm_a: float
Normalizing factor for signal_a
- norm_b: float
Normalizing factor for signal_b
- Returns:
- float
The overlap