Commit 6d8555e2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

ors_wendelin: seems no need

parent 369139eb
from xlte.amari import kpi as akpi from xlte.amari import kpi as akpi
from xlte import kpi from xlte import kpi
import io import io
import numpy as np #import numpy as np
def load_measurements(alogm): def load_measurements(alogm):
mlog = kpi.MeasurementLog() mlog = kpi.MeasurementLog()
...@@ -38,9 +38,9 @@ def getORSKPIValue(data): ...@@ -38,9 +38,9 @@ def getORSKPIValue(data):
vInititialEPSBEstabSR.append((x[0]['lo'], x[0]['hi'])) vInititialEPSBEstabSR.append((x[0]['lo'], x[0]['hi']))
vAddedEPSBEstabSR.append((x[1]['lo'], x[1]['hi'])) vAddedEPSBEstabSR.append((x[1]['lo'], x[1]['hi']))
vt = np.asarray([x for x in vt]) #vt = np.asarray([x for x in vt])
vInititialEPSBEstabSR = np.asarray(vInititialEPSBEstabSR) #vInititialEPSBEstabSR = np.asarray(vInititialEPSBEstabSR)
vAddedEPSBEstabSR = np.asarray(vAddedEPSBEstabSR) #vAddedEPSBEstabSR = np.asarray(vAddedEPSBEstabSR)
# E-UTRAN IP Throughput KPI. # E-UTRAN IP Throughput KPI.
evt = [] evt = []
...@@ -54,6 +54,6 @@ def getORSKPIValue(data): ...@@ -54,6 +54,6 @@ def getORSKPIValue(data):
tmp.append((i['dl']['lo'], i['dl']['hi'], i['ul']['lo'], i['ul']['hi'])) tmp.append((i['dl']['lo'], i['dl']['hi'], i['ul']['lo'], i['ul']['hi']))
vIPThp_qci.append(tmp) vIPThp_qci.append(tmp)
evt = np.asarray([x for x in evt]) # evt = np.asarray([x for x in evt])
vIPThp_qci = vIPThp_qci # vIPThp_qci = vIPThp_qci
return vt, vInititialEPSBEstabSR, vAddedEPSBEstabSR, evt, vIPThp_qci return vt, vInititialEPSBEstabSR, vAddedEPSBEstabSR, evt, vIPThp_qci
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment