summaryrefslogtreecommitdiff
path: root/bin/mim-vs-keysight.py
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/mim-vs-keysight.py
parent0ec4c9ccfaae15b3ba5db74a8fdddc07adf20eb9 (diff)
move running_mean helper from dfatool to utils
Diffstat (limited to 'bin/mim-vs-keysight.py')
-rwxr-xr-xbin/mim-vs-keysight.py7
1 files changed, 2 insertions, 5 deletions
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])