[SciPy-user] PIL and gaussian_filter?

Alan G Isaac aisaac@american....
Wed May 21 20:11:05 CDT 2008


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

>> 2008/5/21 Anne Archibald <peridot.faceted@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@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