wip
All checks were successful
CI for csaxs_bec / test (push) Successful in 1m54s

This commit is contained in:
2026-03-24 11:48:47 +01:00
parent b8a32db919
commit 6a85599b2a

View File

@@ -2,11 +2,12 @@ import time
from ophyd import Component as Cpt
from ophyd import Kind, Signal
from ophyd_devices import PSIDeviceBase
from ophyd_devices.interfaces.base_classes.psi_pseudo_device_base import PSIPseudoDeviceBase
from ophyd_devices.utils.bec_processed_signal import BECProcessedSignal
class BPM(PSIDeviceBase):
class BPM(PSIPseudoDeviceBase):
"""BPM positioner pseudo device."""
# Blade signals, a,b,c,d
top = Cpt(
@@ -84,10 +85,6 @@ class BPM(PSIDeviceBase):
self._compute_diagonal, left=self.left, top=self.top, right=self.right, bot=self.bot
)
def wait_for_connection(self, timeout=10):
for walk in self.walk_signals():
walk.item.wait_for_connection(timeout=timeout)
def _compute_blade_signal(self, signal: Signal) -> float:
return signal.get()