Skip to content
GitLab
Menu
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
aab1c1ef
Commit
aab1c1ef
authored
Sep 29, 2021
by
Fabian Kovac
Browse files
[b] extinction coefficient with pathlength in km
parent
11fdca69
Changes
1
Hide whitespace changes
Inline
Side-by-side
FHSTP/01_data_preparation/prep.py
View file @
aab1c1ef
...
...
@@ -557,7 +557,7 @@ def prep() -> None:
# calculate extinction coefficients for links based on attenuation and lengths of the links based on beer-lambert law
# Coeff = -ln(10) * (Attenuation/PathLength)
df_link
[
'EXTINCTIONCOEFF'
]
=
-
np
.
log
(
10
)
*
(
df_link
[
'ATTENUATION'
]
/
df_link
[
'LENGTH'
])
df_link
[
'EXTINCTIONCOEFF'
]
=
-
np
.
log
(
10
)
*
(
df_link
[
'ATTENUATION'
]
/
df_link
[
'LENGTH'
]
/
1000
)
_log
(
'Calculated extinction coefficients based on beer-lambert law'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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