[SciPy-user] PIL and gaussian_filter?

Alan G Isaac aisaac at american.edu
Wed May 21 21:11:05 EDT 2008


>>>>> x[mask] -= threshold 

>> 2008/5/21 Anne Archibald <peridot.faceted at gmail.com>:
>>>> Or if you want it inplace:
>>>> np.subtract(x,threshold,x)


> On Wed, May 21, 2008 at 5:58 PM, Alan G Isaac 
> <aisaac at american.edu> wrote:
>> Could you please elaborate on the differences between these? 


On Wed, 21 May 2008, Robert Kern apparently wrote:
> One is masked and the other isn't. 


Well, OK.

Trying again ...

Why did Anne switch to ``subtract`` in order to
illustrate in place subtraction?

Thanks,
Alan






More information about the SciPy-User mailing list