diff --git a/scripts/pmt_hrv.py b/scripts/pmt_hrv.py index 4cc3f608f8d4a99370140893bb7b3016e424ebe9..a523b54b29966b43a3d645d00852ec4a483c6ea8 100755 --- a/scripts/pmt_hrv.py +++ b/scripts/pmt_hrv.py @@ -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)]) diff --git a/scripts/pmt_rates.py b/scripts/pmt_rates.py index 0a556d82ddb2de7078479d5a493651315345b416..992ae663f5245692eb4ae7fe69533878935a7a4a 100755 --- a/scripts/pmt_rates.py +++ b/scripts/pmt_rates.py @@ -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)])