Skip to content
Snippets Groups Projects
Commit 4d7a19e3 authored by Rory Smith's avatar Rory Smith Committed by Colm Talbot
Browse files

URGENT fix to sign of epoch in TD timeshift fix

parent b3cb81f4
No related branches found
No related tags found
No related merge requests found
......@@ -397,7 +397,7 @@ def _base_lal_cbc_fd_waveform(
h_cross *= frequency_bounds
if wf_func == lalsim_SimInspiralFD:
dt = 1. / delta_frequency - (hplus.epoch.gpsSeconds + hplus.epoch.gpsNanoSeconds * 1e-9)
dt = 1. / delta_frequency + (hplus.epoch.gpsSeconds + hplus.epoch.gpsNanoSeconds * 1e-9)
h_plus *= np.exp(
-1j * 2 * np.pi * dt * frequency_array)
h_cross *= np.exp(
......
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