ptypy.utils.misc.keV2nm# ptypy.utils.misc.keV2nm(keV)# Convert photon energy in keV to wavelength (in vacuum) in nanometers.