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

sigcoh/sigcoh_util/formf.h beryllium form factor perhaps wrong #4

Open
ameliajo opened this issue Apr 19, 2018 · 0 comments
Open

sigcoh/sigcoh_util/formf.h beryllium form factor perhaps wrong #4

ameliajo opened this issue Apr 19, 2018 · 0 comments

Comments

@ameliajo
Copy link
Member

In form.h, we have

return 1 + cos( 2 * M_PI * ( 2 * l1 + 4 * l2 + 3 * l3 ) / 6 );
for a function that's supposed to return |F|^2/4.

In the documentation by General Atomics's HEXSCAT code (source below), on page 64 of the pdf (pg. 3 of the Appendix), it states that this should instead be

return 0.5 + 0.5 * cos( 2 * M_PI * ( 2*l1 - 2*l2 + 3*l3 )/6 );

Notice the difference in not only the 1 --> 0.5, but also the l2 term inside the cosine.

https://www.osti.gov/servlets/purl/4589776

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

No branches or pull requests

1 participant