From 755b3fe812bfdac24943899248a28ef1a06e26ff Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Wed, 29 Nov 2023 14:18:07 +0100
Subject: [PATCH] Change fulldata in full_waveform

---
 ohmpi/ohmpi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py
index e67269a3..5f3b6d5d 100644
--- a/ohmpi/ohmpi.py
+++ b/ohmpi/ohmpi.py
@@ -190,7 +190,7 @@ class OhmPi(object):
                     f.write('A,B,M,N,t,pulse,polarity,current,voltage\n')
             # write full data
             with open(fw_filename, 'a') as f:
-                dd = last_measurement['fulldata']
+                dd = last_measurement['full_waveform']
                 aa = np.repeat(last_measurement['A'], dd.shape[0])
                 bb = np.repeat(last_measurement['B'], dd.shape[0])
                 mm = np.repeat(last_measurement['M'], dd.shape[0])
-- 
GitLab