pwtools
Set values of arr to zero where abs(arr) <= eps.
arr (numpy nd array)
eps (float eps)
copy (bool) – return copy of arr
numpy nd array