summaryrefslogtreecommitdiff
path: root/lib/lennart/DataProcessor.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-10-23 08:00:30 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-10-23 08:00:30 +0200
commit34b1b9466af7501e651cf3664d96e12c8126f116 (patch)
tree310d0d79bdf309241465370913b9065d9e2d6cb7 /lib/lennart/DataProcessor.py
parent670e7f51f81b7052e17c453991f39018a5c9b008 (diff)
minor refactoring
Diffstat (limited to 'lib/lennart/DataProcessor.py')
-rw-r--r--lib/lennart/DataProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py
index 90cc54d..07d2a2b 100644
--- a/lib/lennart/DataProcessor.py
+++ b/lib/lennart/DataProcessor.py
@@ -188,10 +188,10 @@ class DataProcessor:
data.append(ts)
a = np.empty((len(data),))
+ a[0::4] = min_value
a[1::4] = max_value
a[2::4] = max_value
a[3::4] = min_value
- a[4::4] = min_value
return data, a # plotting by columns
import matplotlib.pyplot as plt