2008/8/20 Hanno Klemm <[EMAIL PROTECTED]>: > In [29]: x = array([0.,0.,1, 0, 0]) > In [35]: y1 = array([1,0,0,0,0]) > > In [36]: correlate(x,y1,mode='full') > Out[36]: array([ 0., 0., 0., 0., 0., 0., 1., 0., 0.])
That doesn't look right. Under r5661: In [60]: np.convolve([0, 0, 1, 0, 0], [1, 0, 0, 0, 0], mode='f') Out[60]: array([0, 0, 1, 0, 0, 0, 0, 0, 0]) Regards Stéfan
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion