From 446ab9810ec69da7a1ca23347b885372bf5c7cb7 Mon Sep 17 00:00:00 2001 From: marques <20172333133@m.scnu.edu.cn> Date: Thu, 21 Apr 2022 10:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BD=93=E5=8A=A8=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=20=E6=A0=87=E9=A2=98=E6=B7=BB=E5=8A=A0=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/Quality_Relabel.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/Quality_Relabel.py b/utils/Quality_Relabel.py index d4276f8..f82b640 100644 --- a/utils/Quality_Relabel.py +++ b/utils/Quality_Relabel.py @@ -342,7 +342,8 @@ class Quality_Relabel: # »æÖÆ Flow2 plt.subplot(gs[1]) self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Flow P", - title=f"PSG sampNo:{self.sampNo} Epoch:{one_ecg_data['Epoch']} Duration:{ecg_duration}") + title=f"PSG sampNo:{self.sampNo} Index:{ecg_index}/{len(self.ecg_event_label_df)} " + f"Epoch:{one_ecg_data['Epoch']} Duration:{ecg_duration}") plt.subplot(gs[2]) self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Effort Tho") @@ -363,7 +364,8 @@ class Quality_Relabel: event_code=[1, 2, 3, 4, 6, 7, 8, 9, 10], event_show_under=False, ax_bottom=True, - title=f"ÐÄÏþ sampNo:{self.sampNo} Epoch:{one_bcg_data['Epoch']} Duration:{bcg_duration}", + title=f"ÐÄÏþ sampNo:{self.sampNo} Index:{bcg_index}/{len(self.bcg_event_label_df)} " + f"Epoch:{one_bcg_data['Epoch']} Duration:{bcg_duration}", ) figManager = plt.get_current_fig_manager()