Commit a03d3467 authored by Fabian Kovac's avatar Fabian Kovac
Browse files

[i] added profiles to link files

parent 61489b8c
......@@ -2,8 +2,8 @@
# Title: Data Preparation for LINK Configs and Transmissions
# Author: Fabian Kovac <ds191008@fhstp.ac.at>
# Team: University of Applied Sciences St. Pölten
# Version: 2.8
# Last changed: 2021-09-29
# Version: 2.9
# Last changed: 2021-10-06
#
import sys
......@@ -510,7 +510,9 @@ def prep() -> None:
'TXLEVEL' : 'mean',
'SPEED' : 'mean',
'CURRRXBITRATE' : 'mean',
'CURRTXBITRATE' : 'mean'
'CURRTXBITRATE' : 'mean',
'CURRRXPROFILE' : 'median',
'CURRTXPROFILE' : 'median'
}
df_link = df_link.groupby(group_cols).agg(agg_cols).reset_index()
_log('Converted 3min windows to 15min windows')
......@@ -573,10 +575,12 @@ def prep() -> None:
'PDIFF' : 'Pdiff',
'TXLEVEL' : 'TxLevel',
'ATTENUATION' : 'Attenuation',
'EXTINCTIONCOEFFICIENT' : 'ExtinctionCoeff',
'EXTINCTIONCOEFF' : 'ExtinctionCoeff',
'SPEED' : 'Speed',
'CURRRXBITRATE' : 'RxBitrate',
'CURRTXBITRATE' : 'TxBitrate',
'CURRRXPROFILE' : 'RxProfile',
'CURRTXPROFILE' : 'TxProfile',
'LONGITUDE_A' : 'XStart',
'LATITUDE_A' : 'YStart',
'ANT_HEIGHT_ALTITUDE_A' : 'AltStart',
......
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