fix(ids-camera): fix roi_signal after AsyncSignal refactoring
Some checks failed
CI for csaxs_bec / test (push) Failing after 27s
CI for csaxs_bec / test (pull_request) Failing after 27s

This commit is contained in:
2025-10-16 14:05:46 +02:00
parent 725eed17ed
commit 9d39bac7fa
2 changed files with 2 additions and 10 deletions

View File

@@ -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__":

View File

@@ -16,7 +16,7 @@ dependencies = [
"bec_ipython_client",
"bec_lib",
"bec_server",
"ophyd_devices",
"ophyd_devices, #ophyd_devices~=1.28",
"std_daq_client",
"jfjoch-client",
"rich",