diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-03-22 16:47:21 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-03-22 16:47:21 +0100 |
commit | 9284ed037c001d8aa150adbeac533929b6e03a66 (patch) | |
tree | fdd0a1d6f0a593950b197e210f225b823d96b86d /lib/lennart | |
parent | 7d3f011f0ce1a07ab9f041e6f73392fcd0e1585d (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.py | 4 |
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:] |