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

Update acoustics.py

parent 5691d40d
No related branches found
No related tags found
No related merge requests found
......@@ -112,11 +112,12 @@ while check==True:
noise_threshold=max(NOISE)
# First filter: 22 greatest
Security_Number=22 # To be sure to take all the pulses
SIGNAL=SIGNAL.tolist()
SIGNAL_OLD=np.array(SIGNAL)
SIGNAL.sort(reverse=True)
QF_first=SIGNAL[0:22]
QF_first=SIGNAL[0:Security_Number]
# Second filter: delete duplicates
......@@ -264,7 +265,7 @@ while check==True:
print(check_time)
time.sleep(abs(600-check_time))
time.sleep(abs(TIT-check_time))
check=True
......
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