How do I take the positive values of a signal only (i.e. set negative values to zero?)
Or, in the more general case, set a clipping limit on both low and high?
Thanks!
How do I take the positive values of a signal only (i.e. set negative values to zero?)
Or, in the more general case, set a clipping limit on both low and high?
Thanks!
max(sig, 0)
sig.clip(lo, hi)
hjh
Thank you! Figured there must be a simple way to do that