[SciPy-user] PIL and gaussian_filter?

Robert Kern robert.kern@gmail....
Wed May 21 18:01:07 CDT 2008


On Wed, May 21, 2008 at 5:58 PM, Alan G Isaac <aisaac@american.edu> wrote:
>>>> x[mask] -= threshold
>
> 2008/5/21 Anne Archibald <peridot.faceted@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