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
61489b8c
Commit
61489b8c
authored
Sep 29, 2021
by
Fabian Kovac
Browse files
[b] extinction coefficient with pathlength in km
parent
aab1c1ef
Changes
1
Show whitespace changes
Inline
Side-by-side
FHSTP/01_data_preparation/prep.py
View file @
61489b8c
...
...
@@ -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'
]
/
1000
)
df_link
[
'EXTINCTIONCOEFF'
]
=
-
np
.
log
(
10
)
*
(
df_link
[
'ATTENUATION'
]
/
(
df_link
[
'LENGTH'
]
/
1000
)
)
_log
(
'Calculated extinction coefficients based on beer-lambert law'
)
...
...
Write
Preview
Supports
Markdown
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