reset manual shift and auto set fovx after xray align
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m34s

This commit was merged in pull request #256.
This commit is contained in:
x12sa
2026-07-12 07:28:10 +02:00
committed by holler
parent e7cc2205cd
commit 6722d1573a
@@ -203,6 +203,7 @@ class XrayEyeAlign:
# there.
self.flomni.reset_correction()
self.flomni.reset_tomo_alignment_fit()
self.flomni.manual_shift_y = 0
self.flomni.lights_off()
@@ -395,10 +396,12 @@ class XrayEyeAlign:
self.gui.on_live_view_enabled(False)
print("setting 'XOMNYI-XEYE-ACQ:0'")
self.flomni.OMNYTools.yesno.printgreenbold(
self.flomni.OMNYTools.printgreenbold(
f"The largest field of view from the xrayeyealign was \nfovx = {fovx:.0f} microns, fovy"
f" = {fovy:.0f} microns"
f" = {fovy:.0f} microns. Adjusting the flomni.fovx to {fovx+6:.0f} microns."
)
self.flomni.fovx = fovx+6
print("Check the fit in the GUI...")
time.sleep(5)