diff --git a/csaxs_bec/devices/ids_cameras/ids_camera_new.py b/csaxs_bec/devices/ids_cameras/ids_camera_new.py index 9d4b274..3111d61 100644 --- a/csaxs_bec/devices/ids_cameras/ids_camera_new.py +++ b/csaxs_bec/devices/ids_cameras/ids_camera_new.py @@ -209,15 +209,7 @@ class IDSCamera(PSIDeviceBase): else: data = image.data * self.mask n_channels = 1 - self.roi_signal.put( - { - self.roi_signal.name: { - "value": np.sum(data) - / (np.sum(self.mask) * n_channels), # TODO could be optimized - "timestamp": time.time(), - } - } - ) + self.roi_signal.put(np.sum(data) / (np.sum(self.mask) * n_channels)) if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index 5cadf8b..4477656 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "bec_ipython_client", "bec_lib", "bec_server", - "ophyd_devices", + "ophyd_devices~=1.29", "std_daq_client", "jfjoch-client", "rich",