fix: according to 6124 planner feedback, use 10 to 20 keV at PXII

This commit is contained in:
duan_j committed 2026-09-10 17:04:43 +02:00
1 parent 39631c5206
commit b27556e4cf
1 file changed
+2 -1
+2 -1
View File
@@ -12,7 +12,8 @@ from aare.gui.widgets.title_label import TitleLabel
# daq.change_energy forwards straight to bec) — confirm the real monochromator
# limits with the Beamline Scientist. Shared by both Set Energy rows.
# X10SA mono reaches 6-30 keV; others keep the placeholder until confirmed.
ENERGY_MIN_KEV, ENERGY_MAX_KEV = (6.0, 30.0) if mx_beamline() == MXBeamline.X10SA else (4.0, 20.0)
# in the 6124 planner it says 10 to 20 keV at PXII
ENERGY_MIN_KEV, ENERGY_MAX_KEV = (10.0, 20.0) if mx_beamline() == MXBeamline.X10SA else (4.0, 20.0)
# "arrived" window for the moving->neutral transition; per-hardware knob like
# MotorMoveGroup's tol (the mono never lands exactly on the setpoint)
ENERGY_AT_TARGET_TOL_KEV = 0.001