w
CI for superxas_bec / test (push) Successful in 37s
CI for superxas_bec / test (pull_request) Successful in 36s

This commit is contained in:
2025-09-17 14:22:21 +02:00
parent 05cf848f35
commit f5bb68975c
+4 -4
View File
@@ -253,14 +253,14 @@ class Timepix(PSIDeviceBase, TimePixControl):
xes_data[ii, :] += msg["TDSpectra"][ii::n_energy_points]
# Put XES data
msg_data = {self.xes_data.name: {"value": xes_data, "timestamp": time.time()}}
self.xes_data.put(
msg_data, metadata={"type": "add", "max_shape": [None, n_energy_points, troin]}
)
md = {"async_update": {"type": "add", "max_shape": [None, n_energy_points, troin]}}
self.xes_data.put(msg_data, metadata=md)
# Put XES spectra
msg_spectra = {
self.xes_spectra.name: {"value": xes_data.sum(axis=1), "timestamp": time.time()}
}
self.xes_spectra.put(msg_spectra, metadata={"type": "add", "max_shape": [None, troin]})
md = {"async_update": {"type": "add", "max_shape": [None, troin]}}
self.xes_spectra.put(msg_spectra, metadata=md)
# Put TDS info
msg_info = {
f"{self.xes_info.name}_tds_period": {"value": tds_period, "timestamp": time.time()},