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

João Luís Silva jsilva@fc.up...
Tue Mar 31 07:21:05 CDT 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