Commit 2e220ef6 authored by Carsten Richter's avatar Carsten Richter
Browse files

Line 484 in qconversion: somehow energy is now stored in keV while it was in eV in the past?

parent b14f4e4d
......@@ -481,7 +481,7 @@ def kmap_get_qcoordinates(kmap_masterh5, energy=None,
for name in sorted(kmap_masterh5):
entry = kmap_masterh5[name]
if energy is None:
_energy = entry["instrument/detector/beam_energy"].value/1000.
_energy = entry["instrument/detector/beam_energy"].value
print("found energy=%.3fkeV"%_energy, end=", ")
else:
_energy = energy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment