Commit aab1c1ef authored by Fabian Kovac's avatar Fabian Kovac
Browse files

[b] extinction coefficient with pathlength in km

parent 11fdca69
......@@ -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')
Supports Markdown
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