w
This commit is contained in:
@@ -210,7 +210,7 @@ class Timepix(PSIDeviceBase, TimePixControl):
|
||||
# TODO should we return, continue or raise?
|
||||
|
||||
# Create data return arrays
|
||||
xes_data = np.zeros((n_energy_points, troin), dtype=np.uint32)
|
||||
xes_data = np.zeros((n_energy_points, troin), dtype=np.float32)
|
||||
tds_period = 0
|
||||
tds_total_events = 0
|
||||
if len(data_frames) == 0:
|
||||
@@ -447,7 +447,7 @@ if __name__ == "__main__": # pragma: no cover
|
||||
timepix.wait_for_connection(all_signals=True, timeout=10)
|
||||
timepix.on_connected()
|
||||
print("Timepix connected and initialized.")
|
||||
for exp_time, frames_per_trigger, runs in zip([0.003, 0.5, 1], [40, 20, 5], [5, 3, 2]):
|
||||
for exp_time, frames_per_trigger, runs in zip([0.003, 0.5], [40, 10], [5, 5]):
|
||||
print(
|
||||
f"Running scan with exp_time={exp_time}, frames_per_trigger={frames_per_trigger}, runs={runs}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user