Skip to content

Commit

Permalink
Actually include phase effect in Hy
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley committed Sep 27, 2024
1 parent 4a1dfac commit 4437f63
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion models/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,9 @@ def Hy(H, y, rh, delta, phase):
"""

return H + 5 * np.log10(rh * delta) - (2.5 * y) * np.log10(rh)
return (
H
+ 5 * np.log10(rh * delta)
- (2.5 * y) * np.log10(rh)
- 2.5 * np.log10(schleicher_marcus(phase))
)

0 comments on commit 4437f63

Please sign in to comment.