Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop in the power spectra calculation #6

Open
jonycastagna opened this issue Jan 30, 2022 · 0 comments
Open

Loop in the power spectra calculation #6

jonycastagna opened this issue Jan 30, 2022 · 0 comments

Comments

@jonycastagna
Copy link

jonycastagna commented Jan 30, 2022

I am trying to use the routine for 2D energy spectrum (tkespe.py file). However, the loop at line 261 is from –n//2 to n//2-1 and does not seems correct: according to the fftn documentation it should be –n//2+1 to n//2 (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant