[Numpy-discussion] Optical autocorrelation calculated with numpy is slow

João Luís Silva jsilva at fc.up.pt
Tue Mar 31 08:21:05 EDT 2009


Charles R Harris wrote:
> That should work. The first two integrals are actually the same, but 
> need to be E(t)*E(t).conj(). The second integral needs twice the real 
> part of E(t)*E(t-tau).conj(). Numpy correlate should really have the 
> conjugate built in, but it doesn't.
> 
> Chuck
> 

It worked, thanks.

João Silva




More information about the NumPy-Discussion mailing list