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

Interlaced species #428

Merged
merged 4 commits into from
Oct 23, 2017
Merged

Interlaced species #428

merged 4 commits into from
Oct 23, 2017

Conversation

rainwoodman
Copy link
Member

See the last cells of the pdf file:

mozilla.pdf

The mean is not properly normalized when interlacing is enabled. Looks like some of the buffer reuse is incorrect.

It gives a bogus powerspectrum -- a few times larger.
This moves the FFT out of the main particle loop for the interlaced
painter.

It fixes the previous wrong result. But I don't see why...
@rainwoodman
Copy link
Member Author

This PR avoids memory reuse in interlaced handling, and also lifts the multiple FFTs outside of the loop.

Sometimes we do push zero particles through the pipe due to
fluctuations or weird cuts. The code shall not crash due
to this.
Copy link
Member

@nickhand nickhand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good to me!

@rainwoodman rainwoodman merged commit 9736b13 into bccp:master Oct 23, 2017
@rainwoodman rainwoodman deleted the interlaced-species branch October 23, 2017 23:11
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

Successfully merging this pull request may close these issues.

2 participants