Skip to content
Snippets Groups Projects
Commit 38732713 authored by Sebastiano Bernuzzi's avatar Sebastiano Bernuzzi
Browse files

Correct a typo when adding negative modes in modes_to_strain.py

parent 7b8064c7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment