Closed SimonHeybrock closed 5 days ago
This may be easy:
incoming_beam
to define z-axis.incoming_beam
and x-z-plane.Remove y-component of incoming_beam to define z-axis.
... assuming we never have a beam that is (approx) along y?
Remove y-component of incoming_beam to define z-axis.
... 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.
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.