[SciPy-user] PIL and gaussian_filter?

Robert Kern robert.kern at gmail.com
Wed May 21 19:01:07 EDT 2008


On Wed, May 21, 2008 at 5:58 PM, Alan G Isaac <aisaac at american.edu> wrote:
>>>> 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?

One is masked and the other isn't.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the SciPy-User mailing list