w
CI for superxas_bec / test (push) Successful in 32s
CI for superxas_bec / test (pull_request) Successful in 40s

This commit is contained in:
2025-12-19 09:42:42 +01:00
parent 2c8502ee23
commit 97bc255aeb
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ class Timepix(PSIDeviceBase, TimePixControl):
# TODO this should no longer happen now as this was fixed in the backend..
else:
for msg in data_frames:
tds_period += msg["period"]
tds_period = msg["period"]
tds_total_events += msg["totalEvents"]
for ii in range(n_energy_points):
xes_data[ii, :] += msg["TDSpectra"][ii::n_energy_points]
@@ -138,7 +138,14 @@ class TimepixXESFrame(TimePixResponse):
class TimepixEndFrame(TimePixResponse):
"""TimepixEndFrame is a Pydantic model that represents the end frame of a TimePix acquisition."""
"""
TimepixEndFrame is a Pydantic model that represents the end frame of a TimePix acquisition.
Attributes:
- type: str - The type of the response, default is "EndFrame".
- error: str - If an error occured during acuisition, this field contains the error message. Empty string otherwise.
- periods: int - The last period count minus 3 (3 being the period predictor delay).
"""
type: str = "EndFrame"
error: str