This commit is contained in:
2025-08-15 09:25:51 +02:00
parent 95f2b0367d
commit d6ebc2467e

View File

@@ -233,8 +233,11 @@ class Timepix(PSIDeviceBase, TimePixControl):
self.xes_spectra.put(msg_spectra, metadata={"type": "add", "max_shape": [None, troin]})
# Put TDS info
msg_info = {
"tds_period": {"value": tds_period, "timestamp": time.time()},
"tds_total_events": {"value": tds_total_events, "timestamp": time.time()},
f"{self.xes_info}_tds_period": {"value": tds_period, "timestamp": time.time()},
f"{self.xes_info}_tds_total_events": {
"value": tds_total_events,
"timestamp": time.time(),
},
}
self.xes_info.put(msg_info)