From 488cfd10d942951e36db006d60ece9263987f3a6 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 13 Aug 2025 13:17:16 +0200 Subject: [PATCH] w --- superxas_bec/devices/timepix/timepix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index f1e2f82..47c19fe 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -179,7 +179,7 @@ class Timepix(PSIDeviceBase, TimePixControl): """ # obj = status.__obj__ md = {"period_list": [], "total_event_list": []} - data = np.array((self.n_energy_points, self.troin)) + data = np.zeros((self.n_energy_points, self.troin)) # Discuss possibilities and expected behavior for the messages received in the msg_buffer. with self.r_lock: if status.done and status.success: