From e6b00de2bc6c25ea411579826ea0a964444181ac Mon Sep 17 00:00:00 2001
From: awatlet <arnaud.watlet@umons.ac.be>
Date: Fri, 20 Oct 2023 17:59:39 +0200
Subject: [PATCH] Adds vmn and iab calculations in hardware_system

---
 ohmpi/hardware_system.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py
index acb90f83..c4252bec 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -248,6 +248,14 @@ class OhmPiHardware:
         return pulses
 
     def _read_values(self, sampling_rate=None, append=False):  # noqa
+        """
+        Reads vmn and iab values on ADS1115 and generates full waveform dataset consisting of
+        [time, pulse nr, polarity, vmn, iab]
+        Parameters
+        ----------
+        sampling_rate: float,None , optional
+        append: bool Default: False
+        """
         self.exec_logger.event(f'OhmPiHardware\tread_values\tbegin\t{datetime.datetime.utcnow()}')
         if not append:
             self._clear_values()
-- 
GitLab