Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
oeigner
LINK - Forschungsprojekt Repo
Commits
dbc70f9f
Commit
dbc70f9f
authored
Jun 23, 2021
by
ds191008
Browse files
[i] formatting and metadata
parent
e570f2b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
FHSTP/prep.py
View file @
dbc70f9f
...
...
@@ -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: 1.
2
# Last changed: 2021-06-2
2
# Version: 1.
3
# Last changed: 2021-06-2
3
#
import
sys
...
...
@@ -379,7 +379,10 @@ def prep() -> None:
# calculate midpoint of links
df_config
[
'LONGITUDE_MID'
],
df_config
[
'LATITUDE_MID'
]
=
get_midpoint
(
df_config
[
'LONGITUDE_A'
],
df_config
[
'LATITUDE_A'
],
df_config
[
'LONGITUDE_B'
],
df_config
[
'LATITUDE_B'
])
df_config
[
'LONGITUDE_MID'
],
df_config
[
'LATITUDE_MID'
]
=
get_midpoint
(
df_config
[
'LONGITUDE_A'
],
df_config
[
'LATITUDE_A'
],
df_config
[
'LONGITUDE_B'
],
df_config
[
'LATITUDE_B'
]
)
_log
(
'Calculated midpoint of links'
)
# calculate LENGTH in km between links
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment