Re: [Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread João Luís Silva
Neal Becker wrote: Anyone know of software that can assist with reading data points from a pdf version of a 2-d line graph? There are programs to help convert a graphic image to data points, such as http://plotdigitizer.sourceforge.net/ ___

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

2009-03-31 Thread João Luís Silva
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,

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

2009-03-30 Thread João Luís Silva
Hi, I wrote a script to calculate the *optical* autocorrelation of an electric field. It's like the autocorrelation, but sums the fields instead of multiplying them. I'm calculating I(tau) = integral( abs(E(t)+E(t-tau))**2,t=-inf..inf) with script appended at the end. It's too slow for my