w
CI for superxas_bec / test (push) Successful in 33s
CI for superxas_bec / test (pull_request) Successful in 38s

This commit is contained in:
2025-12-19 10:01:55 +01:00
parent fb6a39a707
commit 5e3855864f
+1 -1
View File
@@ -441,7 +441,7 @@ class Timepix(PSIDeviceBase, TimePixControl):
for ii in range(n_energy_points):
xes_data[ii, :] += msg["TDSpectra"][ii::n_energy_points]
total_periods = tds_period[-1] / start_frame.get("save_interval", 1)
tds_period = tds_period / start_frame.get("save_interval", 1)
tds_period = np.array(tds_period) / start_frame.get("save_interval", 1)
xes_data = xes_data.T # Transpose to get shape (troin, n_energy_points)
if total_periods is not None:
self.total_periods.put(total_periods)