改flow patience 1 2 为T P
This commit is contained in:
parent
af4acb492f
commit
8218562aa7
@ -148,7 +148,10 @@ class Quality_Relabel:
|
||||
if index in self.channel_list:
|
||||
# ÖØÃüÃûflow patientͨµÀ
|
||||
if index == 'Flow Patient':
|
||||
index = index + str(sub_index)
|
||||
if sub_index == 1:
|
||||
index = "Flow T"
|
||||
else:
|
||||
index = "Flow P"
|
||||
sub_index += 1
|
||||
signal = file.readSignal(i)
|
||||
sample_frequency = file.getSampleFrequency(i)
|
||||
@ -304,11 +307,11 @@ class Quality_Relabel:
|
||||
|
||||
# »æÖÆ Flow1
|
||||
plt.subplot(gs[0])
|
||||
self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Flow Patient1")
|
||||
self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Flow T")
|
||||
|
||||
# »æÖÆ Flow2
|
||||
plt.subplot(gs[1])
|
||||
self.plt_channel(plt_=plt, SP=ecg_SP, EP=ecg_EP, channel="Flow Patient2",
|
||||
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:{one_ecg_data['Duration']}")
|
||||
|
||||
plt.subplot(gs[2])
|
||||
|
Loading…
Reference in New Issue
Block a user