Skip to content
Snippets Groups Projects
Commit 51e77f8d authored by Carlo Guidi's avatar Carlo Guidi
Browse files

Update acoustics.py

parent dce4e04e
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ N_DUS = 5
DUS = range(1, N_DUS + 1)
#ACOUSTIC_BEACONS=[16] # Acoustic Beacons
#DOM=[7] #
#DU=[3] # DUs
#DOMS=[7] # DOMs
#DUS=[3] # DUs
check=True
while check==True:
......@@ -69,13 +69,13 @@ while check==True:
print(now)
COL=[]
for i in DU:
for du in DUS:
DUx=[]
for j in ACOUSTIC_BEACONS:
for k in DOM:
for ab in ACOUSTIC_BEACONS:
for dom in DOMS:
try:
macaddress = db.doms.via_omkey((i,k), detid).dom_id
toas_all = sds.toashort(detid=detid, minrun=minrun, maxrun=maxrun, domid=macaddress, emitterid=j) # Prendere i dati basandosi sul tempo e non sul run????
macaddress = db.doms.via_omkey((du,dom), detid).dom_id
toas_all = sds.toashort(detid=detid, minrun=minrun, maxrun=maxrun, domid=macaddress, emitterid=ab) # Prendere i dati basandosi sul tempo e non sul run????
QF_abdom=toas_all["QUALITYFACTOR"]
UTB_abdom=toas_all["UNIXTIMEBASE"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment