Commit 61489b8c authored by Fabian Kovac's avatar Fabian Kovac
Browse files

[b] extinction coefficient with pathlength in km

parent 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']/1000)
df_link['EXTINCTIONCOEFF'] = -np.log(10) * (df_link['ATTENUATION'] / (df_link['LENGTH']/1000))
_log('Calculated extinction coefficients based on beer-lambert law')
......
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