Commit 3f25d4a7 authored by Moritz Huebner's avatar Moritz Huebner

Merge branch 'edit_phase_reconstruct' into 'master'

Fix typo in phase reconstruction

See merge request !532
parents 440c5345 d8ce4b44
Pipeline #68135 passed with stages
in 15 minutes and 5 seconds
......@@ -453,7 +453,7 @@ class GravitationalWaveTransient(likelihood.Likelihood):
phases = np.linspace(0, 2 * np.pi, 101)
phasor = np.exp(-2j * phases)
phase_log_post = d_inner_h * phasor - d_inner_h / 2
phase_log_post = d_inner_h * phasor - h_inner_h / 2
phase_post = np.exp(phase_log_post.real - max(phase_log_post.real))
new_phase = Interped(phases, phase_post).sample()
return new_phase
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment