TravelSignal fix spatial offset

This commit is contained in:
Eric Teunis de Boone 2022-03-10 14:58:33 +01:00
parent b122e22dfc
commit e2ac58c4fe

View file

@ -116,7 +116,7 @@ class TravelSignal:
temporal_time_offset = t_f - t_0
# total offset
total_time_offset = spatial_time_offset + temporal_time_offset
total_time_offset = temporal_time_offset - spatial_time_offset
n_offset = (total_time_offset * self.sample_rate )
# periodic signal