how to use 'convolve/filter' package?

Nao Suzuki NSuzuki at lbl.gov
Sun Oct 15 01:28:01 CDT 2006


Hello there,

My name is Nao Suzuki and I'm a postdoc at Berkeley Lab.

I've been using numarray about a year, and I found it
very useful and I appreciate your excellent work!

Today, I've been trying to take the advantage of filter
packages but none of them work so far.  Here is the
attempt to reproduce what's shown in the manual.


>>> from numarray import *
>>> a=[0,0,0,1,0,0,0]
>>> correlate1d(a, [1, 1, 1])
>>>
Traceback (most recent call last):
    File "<stdin>", line 1, in ?
NameError: name 'correlate1d' is not defined

Could someone tell me what I'm missing?  Do I need to include
something special?  Please let me know if you can give me some
hints.  I'm stuck here for long time now.

Thank you very much!

--Nao


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list