From 52652c5f6193e1d1afd69ac7e31d818d9b50d078 Mon Sep 17 00:00:00 2001 From: Clement Remi <remi.clement@irstea.fr> Date: Sat, 2 Apr 2022 15:44:31 +0200 Subject: [PATCH] output file correction, to print the correct electrode numbers in the .cvs output file --- ohmpi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ohmpi.py b/ohmpi.py index 9c881d41..0d3ce969 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -444,10 +444,10 @@ class OhmPi(object): # create a dictionary and compute averaged values from all stacks d = { "time": [datetime.now()], - "A": [1], - "B": [2], - "M": [3], - "N": [4], + "A": quad[1], + "B": quad[2], + "M": quad[3], + "N": quad[4], "inj time [ms]": (end_delay - start_delay) * 1000, "Vmn [mV]": [(sum_vmn / (3 + 2 * nb_stack - 1))], "I [mA]": [(injection_current / (3 + 2 * nb_stack - 1))], -- GitLab