Guest User

Untitled

a guest
Dec 12th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. arr = [-0.1, 0.0, 0.5, 0.8, 1.2]
  2.  
  3. dist = [0.1, 0.5, 0.3, 0.4] # must be >=0.25 for all elements
  4.  
  5. valid_array = [-0.25, 0.0, 0.5, 0.8, 1.2] # all elements distance >= threshold
  6.  
  7. [-0.2, 0.05, 0.5, 0.8, 1.2]
Add Comment
Please, Sign In to add comment