From 81370aa8046baa255040f70e21dd26ec449e1937 Mon Sep 17 00:00:00 2001
From: Carlo Guidi <cguidi@km3net.de>
Date: Mon, 13 Jan 2020 14:12:13 +0100
Subject: [PATCH] Update acoustics.py

---
 scripts/acoustics.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/scripts/acoustics.py b/scripts/acoustics.py
index 6fff219..f9807de 100644
--- a/scripts/acoustics.py
+++ b/scripts/acoustics.py
@@ -70,7 +70,7 @@ while check==True:
 
     COL=[]
     for du in DUS:
-        DUx=[]
+        N_Pulses_Indicator=[] # Array indicating for each DU how many pulses each piezo reveals.
         for ab in ACOUSTIC_BEACONS:
             for dom in DOMS:
                 try:
@@ -155,20 +155,20 @@ while check==True:
                     print(NUM)
                     
                     if (NUM>7):
-                        DUx.append(1.5)
+                        N_Pulses_Indicator.append(1.5)
                     elif (NUM<8 and NUM>3):
-                        DUx.append(0.5)
+                        N_Pulses_Indicator.append(0.5)
                     elif (NUM<4 and NUM>0):
-                        DUx.append(-0.5)
+                        N_Pulses_Indicator.append(-0.5)
                     elif (NUM==0):
-                        DUx.append(-1.5)
+                        N_Pulses_Indicator.append(-1.5)
 
                         
                 except:
                     stop=[]
-                    DUx.append(-1.5)
+                    N_Pulses_Indicator.append(-1.5)
                     
-        COL.append(DUx)
+        COL.append(N_Pulses_Indicator)
         
     
     
-- 
GitLab