From ab6cdb4c175b915b0f99d06ac49396b04cc9bbd0 Mon Sep 17 00:00:00 2001
From: awatlet <arnaud.watlet@umons.ac.be>
Date: Mon, 23 Oct 2023 10:35:29 +0200
Subject: [PATCH] =?UTF-8?q?Adds=20vmn=20and=20iab=20calculation=C2=B5s=20i?=
 =?UTF-8?q?n=20hardware=5Fsystem?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py
index c4252bec..2ede95c1 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -331,7 +331,7 @@ class OhmPiHardware:
     def last_iab_dev(self, delay=0.):
         v = np.where((self.readings[:, 0] >= delay) & (self.readings[:, 2] != 0))[0]
         if len(v) > 1:
-            return 100. * np.std(self.readings[v, 3]) / / self.last_iab(delay=delay)
+            return 100. * np.std(self.readings[v, 3]) / self.last_iab(delay=delay)
         else:
             return np.nan
 
-- 
GitLab