From: <rba...@fr...> - 2006-10-15 08:18:00
|
Le Dimanche 15 Octobre 2006 08:28, Nao Suzuki a =E9crit : > 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=3D[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 May be it depends which version of numarray, but try something like import numarray.nd_image as NDI NDI.correlate1d(a, [1, 1, 1]) it works with numarray 1.5 > > 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, securit= y? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apach= e > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion --=20 Ren=E9 Bastian http://www.musiques-rb.org http://pythoneon.musiques-rb.org |