Skip to content
Snippets Groups Projects
Commit ecdb8550 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add debug

parent e3a74c0e
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,9 @@ class PMTRates(kp.Module):
y_base = (floor - 1) * 31
if np.random.rand() > 0.90:
print(f"Rates for DOM ID {dom_id} DU {du}: {tmch_data.pmt_rates}")
for channel_id, rate in enumerate(tmch_data.pmt_rates):
idx = y_base + kp.hardware.ORDERED_PMT_IDS[channel_id]
with self.lock:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment