diff options
author | Lennart <lekaiser@uos.de> | 2020-08-20 13:39:15 +0200 |
---|---|---|
committer | Lennart <lekaiser@uos.de> | 2020-08-20 13:39:15 +0200 |
commit | ae154071f9da8105bfa0ca9c20948d471d38e8cd (patch) | |
tree | 1ef09bf764f71514ea616458a6411974da5fb273 /lib | |
parent | 1f2f18c5b3ecb37ec8b2e4e9e57749d11ad0bba1 (diff) |
Added state duration
Diffstat (limited to 'lib')
-rw-r--r-- | lib/loader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/loader.py b/lib/loader.py index bd6a49d..d14680e 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -1678,11 +1678,11 @@ class EnergyTraceWithLogicAnalyzer: for trace_number, trace in enumerate(traces): for state_or_transition in trace["trace"]: names.append(state_or_transition["name"]) - print(names[:15]) + #print(names[:15]) dp = DataProcessor(sync_data=self.sync_data, energy_data=self.energy_data) dp.run() energy_trace_new = list() - energy_trace_new.extend(dp.getStatesdfatool()) + energy_trace_new.extend(dp.getStatesdfatool(state_sleep=self.state_duration)) #dp.plot() #dp.plot(names) energy_trace_new = energy_trace_new[4:] |