diffract#
Diffraction-related utilities and functions.
Functions
|
Convert from scaled normalised $vec{k_{text{in}}}$ and $vec{k_{text{out}}}$ to scattering vector $vec{Q}$. |
|
Compute omega angles that satisfy the Ewald condition for a given $vec{Q}$ in the sample frame. |
|
Convert from vector of peak in lab frame to normalised scaled $vec{k_{text{out}}}$ in the lab frame. |
|
Convert from scattering vector $vec{Q}$ and scaled normalised $vec{k_{text{in}}}$ to scaled normalised $vec{k_{text{out}}}$. |
|
Convert from scattering vector $vec{Q}$ in lab frame to (tth, eta) angles. |
|
Normalise and scale k-vector according to ImageD11 convention (1/wavelength). |
|
Convert from (tth, eta) angles to scaled normalised $vec{k_{text{out}}}$ in the lab frame. |
|
Convert q (in whatever reference frame) to d-star (1/d). |
|
Convert from inverse length (d-star) and wavelength to two-theta. |