From ac77a611a8841cfc7c651669b2e0b941b4501913 Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Thu, 27 Apr 2023 10:05:45 +0000 Subject: [PATCH] Merge branch 'fix_multiband_snr' into 'master' bilby/gw/likelihood.py: make phase of d_inner_h consistent with that of the other likelihoods Closes #678 See merge request lscsoft/bilby!1253 (cherry picked from commit cbf9e6d172e1bda711b7c1e6970429d3babd2147) 39dbd72d bilby/gw/likelihood.py: make phase of d_inner_h consistent with that of the other likelihoods --- bilby/gw/likelihood/multiband.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bilby/gw/likelihood/multiband.py b/bilby/gw/likelihood/multiband.py index 3ed8819af..4e338e19a 100644 --- a/bilby/gw/likelihood/multiband.py +++ b/bilby/gw/likelihood/multiband.py @@ -736,7 +736,7 @@ class MBGravitationalWaveTransient(GravitationalWaveTransient): strain *= np.exp(-1j * 2. * np.pi * self.banded_frequency_points * ifo_time) strain *= calib_factor - d_inner_h = np.dot(strain, self.linear_coeffs[interferometer.name]) + d_inner_h = np.conj(np.dot(strain, self.linear_coeffs[interferometer.name])) if self.linear_interpolation: optimal_snr_squared = np.vdot( -- GitLab