Commit 2fdebc92 authored by Fabian Kovac's avatar Fabian Kovac
Browse files

added AttnStd to output df

parent 701e531a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Author: Fabian Kovac <fabian.kovac@fhstp.ac.at> # Author: Fabian Kovac <fabian.kovac@fhstp.ac.at>
# Team: University of Applied Sciences St. Pölten # Team: University of Applied Sciences St. Pölten
# Version: 4.1 # Version: 4.1
# Last changed: 2022-01-20 # Last changed: 2022-01-21
# #
import sys import sys
...@@ -580,7 +580,7 @@ def prep() -> None: ...@@ -580,7 +580,7 @@ def prep() -> None:
_log('\n******************************** CALC POWER LEVELS *************************') _log('\n******************************** CALC POWER LEVELS *************************')
# load dry LINK attenuation statistics # load dry LINK attenuation statistics
df_stats = pd.read_csv('00_Link_dry_attnstats.csv', sep = ';') df_stats = pd.read_csv('files_from_H3A/00_Link_dry_attnstats.csv', sep = ';')
# merge mean and std attenuation to transmission dataframe # merge mean and std attenuation to transmission dataframe
df_link = pd.merge(df_link, df_stats, how = 'left', left_on = 'LINKID', right_on = 'LINKID') df_link = pd.merge(df_link, df_stats, how = 'left', left_on = 'LINKID', right_on = 'LINKID')
...@@ -620,6 +620,7 @@ def prep() -> None: ...@@ -620,6 +620,7 @@ def prep() -> None:
'PMAX' : 'RxLevelMax', 'PMAX' : 'RxLevelMax',
'TXLEVEL' : 'TxLevel', 'TXLEVEL' : 'TxLevel',
'ATTENUATION' : 'Attn', 'ATTENUATION' : 'Attn',
'ATTENUATIONSTD' : 'AttnStd',
'ATTENUATIONMEANDRY' : 'AttnMeanDry', 'ATTENUATIONMEANDRY' : 'AttnMeanDry',
'ATTENUATIONSTDDRY' : 'AttnStdDry', 'ATTENUATIONSTDDRY' : 'AttnStdDry',
'ATTENUATIONDIFF' : 'AttnDiff', 'ATTENUATIONDIFF' : 'AttnDiff',
......
Supports Markdown
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