>>> x[mask] -= threshold 2008/5/21 Anne Archibald <peridot.faceted at gmail.com>: >> Or if you want it inplace: >> np.subtract(x,threshold,x) Could you please elaborate on the differences between these? Thank you, Alan Isaac