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

Show det id in plots

parent a6d66cce
No related branches found
No related tags found
No related merge requests found
Pipeline #599 canceled
......@@ -105,9 +105,9 @@ class PMTRates(kp.Module):
m = self.hrv_matrix
fig, ax = plt.subplots(figsize=(10, 8))
ax.imshow(m, origin='lower', interpolation='none')
ax.set_title("HRV Ratios (Monitoring Channel) for DU-{}\n"
ax.set_title("HRV Ratios (Monitoring Channel) for DetID-{} DU-{}\n"
"PMTs ordered from top to bottom - {}"
.format(self.du, datetime.utcnow()))
.format(self.det_id, self.du, datetime.utcnow()))
ax.set_xlabel("UTC time [{}s/px]".format(interval))
plt.yticks([i*31 for i in range(18)],
["Floor {}".format(f) for f in range(1, 19)])
......
......@@ -107,10 +107,10 @@ class PMTRates(kp.Module):
m[m < 5000] = 5000
fig, ax = plt.subplots(figsize=(10, 8))
ax.imshow(m, origin='lower', interpolation='none')
ax.set_title("Mean PMT Rates (Monitoring Channel) for DU-{} "
ax.set_title("Mean PMT Rates (Monitoring Channel) for DetID-{} DU-{} "
"- colours from 5kHz to 15kHz\n"
"PMTs ordered from top to bottom - {}"
.format(self.du, datetime.utcnow()))
.format(self.det_id, self.du, datetime.utcnow()))
ax.set_xlabel("UTC time [{}s/px]".format(interval))
plt.yticks([i*31 for i in range(18)],
["Floor {}".format(f) for f in range(1, 19)])
......
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