Skip to content
Snippets Groups Projects
Commit 5739303b authored by moritz's avatar moritz
Browse files

Moritz Huebner: Made the signal_ifo parameter the same as in the remote

parent 12ff0da8
No related branches found
No related tags found
1 merge request!13Source reimplementation
......@@ -23,10 +23,10 @@ class Likelihood:
signal_ifo = np.sum(h, axis=0)
time_shift = interferometer.time_delay_from_geocenter(self.source.ra, self.source.dec,
self.source.geocent_time)
signal_ifo *= np.exp(1j*2*np.pi*time_shift*self.source.frequency_array)
time_shift = interferometer.time_delay_from_geocenter(
self.source.ra, self.source.dec,
self.source.geocent_time)
signal_ifo *= np.exp(-1j*2*np.pi*time_shift*self.source.frequency_array)
log_l -= 4. / self.source.time_duration * np.vdot(
interferometer.data - signal_ifo,
......
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