Skip to content
Snippets Groups Projects
Commit 84c24133 authored by Colm Talbot's avatar Colm Talbot
Browse files

Fix reference time in ROQ

parent 0312fc5e
No related branches found
No related tags found
No related merge requests found
......@@ -1172,8 +1172,8 @@ class ROQGravitationalWaveTransient(GravitationalWaveTransient):
# Maximum delay time to geocentre + 5 steps
earth_light_crossing_time = radius_of_earth / speed_of_light + 5 * time_space
delta_times = np.arange(
self.priors['geocent_time'].minimum - earth_light_crossing_time,
self.priors['geocent_time'].maximum + earth_light_crossing_time,
self.priors['{}_time'.format(self.time_reference)].minimum - earth_light_crossing_time,
self.priors['{}_time'.format(self.time_reference)].maximum + earth_light_crossing_time,
time_space)
time_samples = delta_times - self.interferometers.start_time
self.weights['time_samples'] = time_samples
......
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