mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-13 01:53:31 +01:00
TravelSignal fix spatial offset
This commit is contained in:
parent
b122e22dfc
commit
e2ac58c4fe
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class TravelSignal:
|
||||||
temporal_time_offset = t_f - t_0
|
temporal_time_offset = t_f - t_0
|
||||||
|
|
||||||
# total offset
|
# 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 )
|
n_offset = (total_time_offset * self.sample_rate )
|
||||||
|
|
||||||
# periodic signal
|
# periodic signal
|
||||||
|
|
Loading…
Reference in a new issue