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: