3D reciprocal lattice and Ewald sphere
Å^-1 coordinatesIdealized detector projection
arbitrary camera length unitsGeometry notes
Ewald sphere
The incident wavevector is k0 = (0, 0, 1/lambda). The sphere center is
-k0 and the radius is |k0|, so the sphere passes through the reciprocal-space origin.
Excitation error
Reflections are highlighted when |s_g| <= cutoff, where
s_g = |k0 + g| - |k0|. Darker red means closer to exact Bragg condition.
Detector projection
Only excited reflections are projected. The simplified detector is perpendicular to +z at
L = 1, with x = L kout_x/kout_z and y = L kout_y/kout_z.