diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cal-hist | 3 | ||||
-rwxr-xr-x | bin/gradient | 3 | ||||
-rwxr-xr-x | bin/mim-vs-keysight.py | 7 | ||||
-rwxr-xr-x | bin/mimosa-etv | 3 | ||||
-rwxr-xr-x | bin/mimplot | 3 | ||||
-rwxr-xr-x | bin/workload.py | 5 |
6 files changed, 10 insertions, 14 deletions
diff --git a/bin/cal-hist b/bin/cal-hist index 96c4469..f615c57 100755 --- a/bin/cal-hist +++ b/bin/cal-hist @@ -7,7 +7,8 @@ import struct import sys import tarfile import matplotlib.pyplot as plt -from dfatool import running_mean, MIMOSA +from dfatool import MIMOSA +from utils import running_mean voltage = float(sys.argv[1]) shunt = float(sys.argv[2]) diff --git a/bin/gradient b/bin/gradient index e54f10f..eb79b25 100755 --- a/bin/gradient +++ b/bin/gradient @@ -7,7 +7,8 @@ import struct import sys import tarfile import matplotlib.pyplot as plt -from dfatool import running_mean, MIMOSA +from dfatool import MIMOSA +from utils import running_mean voltage = float(sys.argv[1]) shunt = float(sys.argv[2]) diff --git a/bin/mim-vs-keysight.py b/bin/mim-vs-keysight.py index d017c30..df37d8b 100755 --- a/bin/mim-vs-keysight.py +++ b/bin/mim-vs-keysight.py @@ -1,13 +1,10 @@ #!/usr/bin/env python3 -import csv import numpy as np -import os -import struct import sys -import tarfile import matplotlib.pyplot as plt -from dfatool import running_mean, MIMOSA, KeysightCSV +from dfatool import MIMOSA, KeysightCSV +from utils import running_mean voltage = float(sys.argv[1]) shunt = float(sys.argv[2]) diff --git a/bin/mimosa-etv b/bin/mimosa-etv index 8e8ba44..417f1cf 100755 --- a/bin/mimosa-etv +++ b/bin/mimosa-etv @@ -8,7 +8,8 @@ import numpy as np import os import re import sys -from dfatool import aggregate_measures, running_mean, MIMOSA +from dfatool import aggregate_measures, MIMOSA +from utils import running_mean opt = dict() diff --git a/bin/mimplot b/bin/mimplot index 60da5c0..cd71a4f 100755 --- a/bin/mimplot +++ b/bin/mimplot @@ -9,7 +9,8 @@ import struct import sys import tarfile import matplotlib.pyplot as plt -from dfatool import running_mean, MIMOSA +from dfatool import MIMOSA +from utils import running_mean opt = dict() diff --git a/bin/workload.py b/bin/workload.py index c0a03c7..c78e9a8 100755 --- a/bin/workload.py +++ b/bin/workload.py @@ -7,11 +7,6 @@ from lex import TimedSequence, TimedWord, Workload args = sys.argv[1:] -# TODO loops im raw_word: -# init(); repeat { foo(); sleep(5m); bar(); ... } o.ä. -# - Zeitangaben mit Einheit in sleep -# - Ausgabe in Gesamt, Init und Schleifeninhalt aufdröseln - loops = dict() ptafiles = list() loop_names = set() |