diff --git a/src/analysis.jl b/src/analysis.jl index f21964f..e545395 100644 --- a/src/analysis.jl +++ b/src/analysis.jl @@ -297,7 +297,7 @@ function auto_correlate(ψ,X,K) ifft!(ϕ) dμk = prod(DK)*(2*π)^(n/2) @. ϕ *= dμk - return ϕ |> fftshift + return ϕ end auto_correlate(psi::Psi{D}) where D = auto_correlate(psi.ψ,psi.X,psi.K)