From e390046d3ae5083c96d7666a8459856da861ce28 Mon Sep 17 00:00:00 2001 From: Matthew David Pitkin <matthew.pitkin@ligo.org> Date: Mon, 12 Aug 2019 08:14:46 -0500 Subject: [PATCH] Update utils.py: remove the sqrt(2) normalisation from the scalar longitudinal mode --- bilby/gw/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bilby/gw/utils.py b/bilby/gw/utils.py index 16937ebae..c286bf369 100644 --- a/bilby/gw/utils.py +++ b/bilby/gw/utils.py @@ -137,7 +137,7 @@ def get_polarization_tensor(ra, dec, time, psi, mode): # Calculating omega here to avoid calculation when model in [plus, cross, breathing] omega = np.cross(m, n) if mode.lower() == 'longitudinal': - return np.sqrt(2) * np.einsum('i,j->ij', omega, omega) + return np.einsum('i,j->ij', omega, omega) elif mode.lower() == 'x': return np.einsum('i,j->ij', m, omega) + np.einsum('i,j->ij', omega, m) elif mode.lower() == 'y': -- GitLab