en_to_wl()
q_to_tth()
r_to_tth()
tth_to_q()
tth_to_r()
wl_to_en()
Common functions that are supposed to be imported in __init__.py and thus made available to all modules.
Convert photon energy (eV) to wavelength (m).
Convert q (1/m) to scattering angle (rad).
Convert detector radius (m) to scattering angle (rad).
Convert scattering angle (rad) to q (1/m).
Convert scattering angle (rad) to detector radius (m).
Convert wavelength (m) to photon energy (eV).