summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-15 12:50:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-15 12:50:30 +0200
commit7c5f704942a905e3414258d15c530bba4a8483ef (patch)
tree32083727010bf456ae63379253d74631fa9ba53e /bin
parenta933f68f51da097ae163d51385609fbcf4b3b6f3 (diff)
Keysight -> KeysightCSV
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mim-vs-keysight.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mim-vs-keysight.py b/bin/mim-vs-keysight.py
index 2cfa976..d017c30 100755
--- a/bin/mim-vs-keysight.py
+++ b/bin/mim-vs-keysight.py
@@ -7,7 +7,7 @@ import struct
import sys
import tarfile
import matplotlib.pyplot as plt
-from dfatool import running_mean, MIMOSA, Keysight
+from dfatool import running_mean, MIMOSA, KeysightCSV
voltage = float(sys.argv[1])
shunt = float(sys.argv[2])
@@ -16,7 +16,7 @@ mimfile = "../data/20161114_arb_%d.mim" % shunt
csvfile = "../data/20161114_%d_arb.csv" % shunt
mim = MIMOSA(voltage, shunt)
-ks = Keysight()
+ks = KeysightCSV()
charges, triggers = mim.load_data(mimfile)
timestamps, currents = ks.load_data(csvfile)