;The Fourier transform of the cross correlation function is the ;product of the Fourier transform of the first series and the ;complex conjugate of the Fourier transform of the second series. Function AutoCorrelate, X, Y Temp=FFT(X,-1) return,FFT(Temp*CONJ(Temp),1) end