summaryrefslogtreecommitdiff
path: root/lib/lennart
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-03-22 16:47:21 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-03-22 16:47:21 +0100
commit9284ed037c001d8aa150adbeac533929b6e03a66 (patch)
treefdd0a1d6f0a593950b197e210f225b823d96b86d /lib/lennart
parent7d3f011f0ce1a07ab9f041e6f73392fcd0e1585d (diff)
EnergyTraceWithLogicAnalyzer: Use ExternalTimerSync as well
DataProcessor is now deprecated and no longer in use
Diffstat (limited to 'lib/lennart')
-rw-r--r--lib/lennart/DataProcessor.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py
index 6df813e..c211beb 100644
--- a/lib/lennart/DataProcessor.py
+++ b/lib/lennart/DataProcessor.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+
+# XXX deprecated and unused
import numpy as np
import logging
import os
@@ -49,7 +51,7 @@ class DataProcessor:
# Remove bogus data before / after the measurement
- time_stamp_data = self.sync_data.timestamps
+ time_stamp_data = self.sync_data
for x in range(1, len(time_stamp_data)):
if time_stamp_data[x] - time_stamp_data[x - 1] > 1.3:
time_stamp_data = time_stamp_data[x:]