添加体动事件
标题添加序号
This commit is contained in:
parent
7b2a1b20a9
commit
446ab9810e
@ -342,7 +342,8 @@ class Quality_Relabel:
|
|||||||
# »æÖÆ Flow2
|
# »æÖÆ Flow2
|
||||||
plt.subplot(gs[1])
|
plt.subplot(gs[1])
|
||||||
self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Flow P",
|
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])
|
plt.subplot(gs[2])
|
||||||
self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Effort Tho")
|
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_code=[1, 2, 3, 4, 6, 7, 8, 9, 10],
|
||||||
event_show_under=False,
|
event_show_under=False,
|
||||||
ax_bottom=True,
|
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()
|
figManager = plt.get_current_fig_manager()
|
||||||
|
Loading…
Reference in New Issue
Block a user