diff --git a/superxas_bec/devices/falcon.py b/superxas_bec/devices/falcon.py index 1287a1a..d42770b 100644 --- a/superxas_bec/devices/falcon.py +++ b/superxas_bec/devices/falcon.py @@ -24,9 +24,8 @@ class FalconAcquiringStatus(int, enum.Enum): class DeadTimeCorrectedSignal(SignalRO): """Signal for dead time corrected counts.""" - def __init__(self, *args, parent: Device | None = None, **kwargs): - super().__init__(*args, **kwargs) - self.parent = parent + def __init__(self, name:str, *args, parent: Device | None = None, **kwargs): + super().__init__(name=name,*args, parent=parent,**kwargs) self._dead_time = 1.182e-7 # Dead time in seconds def get(self, **kwargs) -> float | None: @@ -112,7 +111,7 @@ class FalconControl(Device): # Configuration attributes collect_mode: EpicsSignal = Cpt(EpicsSignal, "CollectMode", doc="Collect mode signal") preset_real_time: EpicsSignal = Cpt( - EpicsSignal, "PresetRealTime", doc="Preset real time signal" + EpicsSignal, "PresetReal", doc="Preset real time signal" ) # Preview Signal for Falcon detector @@ -121,14 +120,12 @@ class FalconControl(Device): name="spectrum", ndim=1, kind=Kind.omitted, - auto_monitor=True, doc="Preview signal for Falcon detector spectrum", ) # Computed signal for dead time corrected counts dead_cor_roi0_count = Cpt( DeadTimeCorrectedSignal, - name="dead_cor_roi0_count", kind=Kind.hinted, doc="Dead time corrected ROI 0 count", )