peak_lab_to_k_out#
- anri.diffract.peak_lab_to_k_out(peak_lab, origin_lab, wavelength)[source]#
Convert from vector of peak in lab frame to normalised scaled \(\vec{k_{\text{out}}}\) in the lab frame.
If peak_lab is an observed peak position in the lab frame, we subtract the origin_lab to get the scattering vector, then normalise it.