From b332e9a9cccae548bde11ccea32b4c90194ea41d Mon Sep 17 00:00:00 2001 From: Ashton Bradley Date: Tue, 21 May 2024 15:30:36 +1200 Subject: [PATCH] remove fftshift from autocorrelate --- src/analysis.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)