Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2017
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. thres = 1.2
  2.  
  3. i_peak = []
  4.  
  5. while not i_peak:
  6. i_peak = peakutils.indexes(corr, thres=thres, min_dist=5)
  7. thres -= 0.02
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement