Skip to content

Fixing bug in dt

Marc Arene requested to merge timeshift into master

Computing dt the following way is inaccurate:

dt = parameters['geocent_time'] + time_shift - self.strain_data.start_time

Indeed the GPS times are number on the order of 1e9 seconds while timeshift varies on the order of 1e-5. Hence if the GPS times are not substracted with one another before the computation is inaccurate.

Merge request reports