Procházet zdrojové kódy

Changes for new modem.

master
Lukas Prause před 2 roky
rodič
revize
f77140eb6b
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      plot_single_transmission_EM9190.py

+ 3
- 3
plot_single_transmission_EM9190.py Zobrazit soubor

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]")

Načítá se…
Zrušit
Uložit