chore(otf): move pre scan after setup

This commit is contained in:
2026-07-13 17:45:29 +02:00
parent a1a39e8785
commit 906d7dc5cc
+2 -1
View File
@@ -123,7 +123,6 @@ class OTFScan(ScanBase):
devices, e.g. devices that have a short timeout.
The pre-scan logic is typically implemented on the device itself.
"""
self.actions.pre_scan_all_devices()
self.dev.mirror_theta.base_velocity.put(self.default_velocity / 10)
self.dev.grating_beta.base_velocity.put(self.default_velocity / 10)
@@ -144,6 +143,8 @@ class OTFScan(ScanBase):
self.dev.grating_beta.velocity.put(beta_speed)
self.mono.sync_with_undulator.put(1)
self.actions.pre_scan_all_devices()
@scan_hook
def scan_core(self):
"""