mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-12-22 03:23:34 +01:00
Simu: wrong timelength in digitised signal
This commit is contained in:
parent
c6d527a307
commit
c149389c84
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class DigitisedSignal(Signal):
|
|||
|
||||
self.sample_rate = sample_rate # Hz
|
||||
self.sample_length = len(self.raw)
|
||||
self.time_length = self.sample_length*sample_rate # s
|
||||
self.time_length = self.sample_length/sample_rate # s
|
||||
|
||||
# choose interpolation method
|
||||
if not interp1d_kw:
|
||||
|
|
Loading…
Reference in a new issue