From f33ce4ad599935a6daca6c37e27ca2ac18c8b58f Mon Sep 17 00:00:00 2001
From: Clement Remi <remi.clement@irstea.fr>
Date: Fri, 2 Jun 2023 08:38:52 +0200
Subject: [PATCH] deacrese time sampling for IP

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

diff --git a/ohmpi.py b/ohmpi.py
index f72f0f96..a7b0fad8 100644
--- a/ohmpi.py
+++ b/ohmpi.py
@@ -969,7 +969,7 @@ class OhmPi(object):
                 pinMN = 0 if polarity > 0 else 2  # noqa
 
                 # sampling for each stack at the end of the injection
-                sampling_interval = 10  # ms    # TODO: make this a config option
+                sampling_interval = 2  # ms    # TODO: make this a config option
                 self.nb_samples = int(injection_duration * 1000 // sampling_interval) + 1  # TODO: check this strategy
 
                 # full data for waveform
-- 
GitLab