summaryrefslogtreecommitdiff
path: root/bin/gradient
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-04-29 08:58:14 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-04-29 08:58:34 +0200
commit2747d21d4db8f4f123874743dfce512d0cabc875 (patch)
tree01561b0505a786455b264a126ce9b89c04b61ca7 /bin/gradient
parent0ec4c9ccfaae15b3ba5db74a8fdddc07adf20eb9 (diff)
move running_mean helper from dfatool to utils
Diffstat (limited to 'bin/gradient')
-rwxr-xr-xbin/gradient3
1 files changed, 2 insertions, 1 deletions
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])