-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ensure two-theta calculation with gravity works if incoming beam is not perpendicular to gravity #531
Comments
This may be easy:
|
... assuming we never have a beam that is (approx) along y? |
Yes. We could have a safety check to disallow beams below a certain angle from the y-axis. Do you think this is an issue in practice? This issue is mostly about reflectometry. Given specular reflection and a beam coming down the y-axis, this would mean that the detector is also position along the y-axis, i.e., in the incoming beam. |
My thought was that someone might define Z as "up". Adding a simple check (say about the length of the incoming beam after removing Y?) should be sufficient? |
Ok. Then you can project the incoming beam onto a plane perpendicular to gravity. Since we only care about the direction, not the length, this should work. |
Related to scipp/essreflectometry#14.
The text was updated successfully, but these errors were encountered: