mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-13 01:53:31 +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_rate = sample_rate # Hz
|
||||||
self.sample_length = len(self.raw)
|
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
|
# choose interpolation method
|
||||||
if not interp1d_kw:
|
if not interp1d_kw:
|
||||||
|
|
Loading…
Reference in a new issue