浏览代码

Changes for new modem.

master
Lukas Prause 2 年前
父节点
当前提交
f77140eb6b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      plot_single_transmission_EM9190.py

+ 3
- 3
plot_single_transmission_EM9190.py 查看文件

ax02 = ax00.twinx() ax02 = ax00.twinx()


# Plot vertical lines # Plot vertical lines
lte_handovers = transmission_df["lte_pcid"].diff().dropna()
lte_handovers = transmission_df["Cell_ID"].diff().dropna()
for index, value in lte_handovers.items(): for index, value in lte_handovers.items():
if value > 0: if value > 0:
ax00.axvline(index, ymin=0, ymax=1, color="skyblue", label="4G Handover") ax00.axvline(index, ymin=0, ymax=1, color="skyblue", label="4G Handover")


nr_handovers = transmission_df["nr_pcid"].diff().dropna()
nr_handovers = transmission_df["NR5G_Cell_ID"].diff().dropna()
for index, value in nr_handovers.items(): for index, value in nr_handovers.items():
if value > 0: if value > 0:
ax00.axvline(index, ymin=0, ymax=1, color="greenyellow", label="5G Handover") ax00.axvline(index, ymin=0, ymax=1, color="greenyellow", label="5G Handover")
ax02.set_ylim(-25, -5) ax02.set_ylim(-25, -5)


ax00.set_xlabel("arrival time [s]") ax00.set_xlabel("arrival time [s]")
ax2.set_ylabel("Goodput [mbps]") ax2.set_ylabel("Goodput [mbps]")
ax00.set_ylabel("NR RSRQ [dB]") ax00.set_ylabel("NR RSRQ [dB]")
ax02.set_ylabel("LTE RSRQ [dB]") ax02.set_ylabel("LTE RSRQ [dB]")

正在加载...
取消
保存