From a375eba0d9afe6a5bfb3a667f82c149360cbce7a Mon Sep 17 00:00:00 2001
From: awatlet <arnaud.watlet@umons.ac.be>
Date: Tue, 10 Oct 2023 11:50:30 +0200
Subject: [PATCH] Adds Vmn and I readings in ohmpi.py

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

diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py
index 894419eb..397659a4 100644
--- a/ohmpi/ohmpi.py
+++ b/ohmpi/ohmpi.py
@@ -468,7 +468,7 @@ class OhmPi(object):
             Vmn = np.mean(self._hw.readings[x, 2] * (self._hw.readings[x, 4] - self._hw.sp))
             Vmn_std = 100. * np.std(self._hw.readings[x, 2] * (self._hw.readings[x, 4] - self._hw.sp))
             I = np.mean(self._hw.readings[x, 3])
-            I = 100. * np.std(self._hw.readings[x, 3])
+            I_std = 100. * np.std(self._hw.readings[x, 3])
             d = {
                 "time": datetime.now().isoformat(),
                 "A": quad[0],
-- 
GitLab