From 38732713f0683300120d92b11b7c507c06aa9841 Mon Sep 17 00:00:00 2001 From: Sebastiano Bernuzzi <sebastiano.bernuzzi@gmail.com> Date: Thu, 28 Oct 2021 15:25:52 +0000 Subject: [PATCH] Correct a typo when adding negative modes in modes_to_strain.py --- msc/modes_to_strain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msc/modes_to_strain.py b/msc/modes_to_strain.py index 0cfb317..081ce97 100644 --- a/msc/modes_to_strain.py +++ b/msc/modes_to_strain.py @@ -83,7 +83,7 @@ def modes_to_strain(modes, if (add_negative_modes): sYlm_neg = spinw_spherical_harm(-2, l, -m, phi, inclination) hlm_neg = (-1)**l * np.conj(hlm) - h += hlm_new * sYlm_neg + h += hlm_neg * sYlm_neg hplus = np.real(h) hcross = - np.imag(h) return time, hplus, hcross -- GitLab