From d6ebc2467ea0a15c529432575ba6531a207b92ed Mon Sep 17 00:00:00 2001 From: appel_c Date: Fri, 15 Aug 2025 09:25:51 +0200 Subject: [PATCH] w --- superxas_bec/devices/timepix/timepix.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index 39ed5c9..a674467 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -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)