changed energy scale from keV to eV

This commit is contained in:
gac-furka
2022-04-27 15:04:31 +02:00
parent a5dc401900
commit 2a4c09f9e3

View File

@ -179,7 +179,7 @@ class QSpace1D(Adjustable):
h = 6.62607015e-34 # J s
c = 299792458 # m / s
e = 1.60217663e-19 # C
f = h * c / e * 1e-3 * 1e9 # E [keV] = f / lambda [nm]
f = h * c / e * 1e-3 * 1e9 *1e-3 # E [eV] = f / lambda [nm]
class Wavelength(Adjustable):