-
Notifications
You must be signed in to change notification settings - Fork 11
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
bift.py result on BSA test data shows "saw" on top of data #19
Comments
Could you tell me which branch you are using ? |
I am on kif/freesas/master, the last commit is the following: commit 8e4f4d7 (HEAD -> master, origin/master)
|
I have been mostly hacking on the Guinier region code recently , with reverse engineering of Atsas' code, but this lead also some improvement in bift. Sorry I did not merge the PR as I am not happy with the quality indicator yet. |
Apparently smooth_density introduces a discontinuity in a smooth function: import numpy This seems quite suspicious. @kif: Does the original paper specify how to smooth? I no longer have access to it... |
By the way, I would suggest to split the current smooth function into 2 functions:
|
Hi Martha, By any chance, can you run run |
I upgraded my macbook to the latest version to be able to upgrade the compiler:
And after rebuild, the code behaves as expected:
|
Hi, the answer was: Use clang11 instead of clang10 ;) gcc --version Things look reasonable now! Thanks for your help, |
When running bift.py on the BSA test data, there is a clear saw pattern with wavelength 2Δr on top of the density. Increasing MC sampling reduces the amplitude, but not sufficiently. Taking the averages of two subsequent points removes the pattern:
Also see issue #18 .
The text was updated successfully, but these errors were encountered: