In wide-angle scattering (WAXS), one cannot simply assume that the detector plane is orthogonal to the incident x-ray beam. Converting from detector pixel coordinates to 3D q-vector is not always trivial, and depends on the experimental geometry.
Area Detector on Goniometer Arm
Consider a 2D (area) detector connected to a goniometer arm. The goniometer has a center of rotation at the center of the sample (i.e. the incident beam passes through this center, and scattered rays originate from this point also). Let
be the in-plane angle of the goniometer arm (rotation about
-axis), and
be the elevation angle (rotation away from
plane and towards
axis).
The final scattering vector depends on:
: Pixel position on detector (horizontal).
: Pixel position on detector (vertical).
: Sample-detector distance.
: Elevation angle of detector.
: In-plane angle of detector.
Note that
and
are defined relative to the direct-beam. That is, for
and
, the direct beam is at position
on the area detector.
Central Point
The point
can be thought of in terms of a vector that points from the source-of-scattering (center of goniometer rotation) to the detector:

This vector is then rotated about the
-axis by
:

And then rotated about the
-axis by
:

The point
on the detector probes the total scattering angle
, which is simply the angle between
and
:
![{\displaystyle {\begin{alignedat}{2}\cos \Theta &={\frac {\mathbf {v} _{i}\cdot \mathbf {v} _{f}}{\left\|\mathbf {v} _{i}\right\|\left\|\mathbf {v} _{f}\right\|}}\\&=\cos \phi _{g}\cos \theta _{g}\\2\theta _{s}&=\arccos \left[\cos \phi _{g}\cos \theta _{g}\right]\end{alignedat}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/16f579eadf3797f5e60e452d03043fd715a20db0)
Thus:

Arbitrary Point
For other points on the detector face, we can combine the above result with the known results for the Geometry of TSAXS. For
and
, we have:

See Also