Skip to content

Commit

Permalink
remove fftshift from autocorrelate
Browse files Browse the repository at this point in the history
  • Loading branch information
AshtonSBradley committed May 21, 2024
1 parent 34b9983 commit b332e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b332e9a

Please sign in to comment.