Commit 701e531a authored by Fabian Kovac's avatar Fabian Kovac
Browse files

fixed difference of attenuation stds

parent 1ba69e5f
......@@ -2,8 +2,8 @@
# Title: Data Preparation for LINK Configs and Transmissions
# Author: Fabian Kovac <fabian.kovac@fhstp.ac.at>
# Team: University of Applied Sciences St. Pölten
# Version: 4.0
# Last changed: 2022-01-14
# Version: 4.1
# Last changed: 2022-01-20
#
import sys
......@@ -601,7 +601,7 @@ def prep() -> None:
df_std = df_std.rename(columns = {'LINKID' : 'LINKID', 'ATTENUATION' : 'ATTENUATIONSTD'})
df_link = pd.merge(df_link, df_std, how = 'left', left_on = 'LINKID', right_on = 'LINKID')
df_link['ATTENUATIONSTDDIFF'] = df_link['ATTENUATIONSTD'] - df_link['ATTENUATIONSTDDRY']
df_link['ATTENUATIONSTDDIFF'] = np.sqrt(df_link['ATTENUATIONSTD']**2 + df_link['ATTENUATIONSTDDRY']**2)
del(df_std)
_log('Calculated attenuation differences of dry means')
......
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