Changes calculation of 5G handover.
This commit is contained in:
@@ -146,7 +146,7 @@ if __name__ == "__main__":
|
|||||||
ax00.axvline(index, ymin=0, ymax=1, color="skyblue")
|
ax00.axvline(index, ymin=0, ymax=1, color="skyblue")
|
||||||
|
|
||||||
first = True
|
first = True
|
||||||
nr_handovers = transmission_df["NR5G_Cell_ID"].dropna().diff()
|
nr_handovers = transmission_df["NR5G_Cell_ID"].replace(0, np.NaN).dropna().diff()
|
||||||
for index, value in nr_handovers.items():
|
for index, value in nr_handovers.items():
|
||||||
if value > 0:
|
if value > 0:
|
||||||
if first:
|
if first:
|
||||||
|
|||||||
Reference in New Issue
Block a user