chop
chop(array, epsilon=1e-10)
Truncate small values of a complex array.
Parameters
- array (array_like) – array to truncate small values.
- epsilon (float) – threshold.
Returns
A new operator with small values set to zero.
Return type
np.array
Was this page helpful?
Report a bug or request content on GitHub.