From 583435ddd64cf0d3561044922facd7fbc8e3c95a Mon Sep 17 00:00:00 2001 From: x01dc Date: Sat, 19 Sep 2026 19:34:49 +0200 Subject: [PATCH] =?UTF-8?q?fix(flomni):=20tighten=20manual=5Fshift=5Fy=20G?= =?UTF-8?q?UI=20range=20to=20=C2=B150=20=C2=B5m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit manual_shift_y (the "additional offset y" that ultimately feeds tomo_additional_offsety at the scan/RT-controller layer, where it's bounded by rty's own ±100 hardware travel limit) had no meaningful upper bound of its own in the Tomo Parameters GUI (-1000 to 1000 µm spinbox range) -- tighten it to ±50 µm, a sane bound at the parameter-entry level, well inside rty's hardware limit which is left unchanged. GUI-only change (manual_shift_y itself has no property-level range validation, matching the existing convention for fovx/fovy/stitch_x/stitch_y). LamNI's own manual_shift_x/y range is untouched. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_0132KBoxsovfcMNRGJhS1Pbw --- csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py b/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py index b7484d49..dea8dce2 100644 --- a/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py +++ b/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py @@ -2327,7 +2327,7 @@ SETUP_PROFILES: dict[str, dict[str, Any]] = { ("fovy", "FOV y (µm)", 0.1, 100.0, 2), ], "stitch_fields": [("stitch_x", "Stitch x", 0, 50), ("stitch_y", "Stitch y", 0, 50)], - "manual_shift_fields": [("manual_shift_y", "Manual shift y (µm)", -1000.0, 1000.0, 3)], + "manual_shift_fields": [("manual_shift_y", "Manual shift y (µm)", -50.0, 50.0, 3)], "piezo_range_fields": [], "offset_fields": [], "offset_getter": None,