Hello!
> The very strange thing which is happening here is you see variable
> arr2 at ID id_ttt before changing the variable tt at the same ID (i.e.
> id_ttt]) is showing some value but once I am printing its value after
> assigning tt[id_ttt] = 0.0, arr2[id_ttt] is also showing 0 value
> howe
def closset_match(check, arr, itr):
id_min = []
for ii in range(itr):
id_min_tmp = np.argmin( abs(arr - check) )
id_min.append(id_min_tmp)
arr[id_min_tmp] = float('-inf')
id_min = np.array(id_min)
return id_min
def get_match(arr1, arr2, tol, itr):
tt