Last active
July 7, 2016 08:09
-
-
Save ronfe/7327d7e7b91a9c0a8df4c23ff55b8918 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ec(x): | |
return 0.2411508 + 0.7584302*(math.exp(-2.005557*x)) | |
# Different Strength TABLE | |
# Strength - 1day 2days 3days 7days 14days 31days | |
# 1 - 0.368, 0.135, 0.050, 0.001, 0.000, 0.000 | |
# 2 - 0.607, 0.368, 0.223, 0.030, 0.001, 0.000 | |
# 5 - 0.819, 0.670, 0.549, 0.247, 0.061, 0.002 | |
# 10 - 0.905, 0.819, 0.741, 0.497, 0.247, 0.045 | |
def ori_ec(x, s=1): | |
return math.exp(-(x/s)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment