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

Update acoustics.py

parent 3253d948
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,6 @@ while check==True:
Q.append(np.where(SIGNAL_OLD==QF_fourth[q])[0][0])
UTB_fourth=np.array(UTB_SIGNAL.tolist())[Q]
UTB_fourth_l=UTB_fourth.tolist()
# UTB_fourth_l.sort()
D=[]
for g in np.arange(len(UTB_fourth_l)):
if ((np.mod((UTB_fourth_l[g]-UTB_fourth_l[0]),5)>0.5 and np.mod((UTB_fourth_l[g]-UTB_fourth_l[0]),5)<4.5) or (np.mod((UTB_fourth_l[g]-UTB_fourth_l[0]),5)>5)):
......@@ -148,7 +147,7 @@ while check==True:
QF_fifth=QF_fourth
QF_OK=QF_fifth
# print(QF_OK)
NUM=len(QF_OK)
NUM=len(QF_OK) # Number of pulses
print(NUM)
if (NUM>7):
......
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