贝内特大气方程
Bennett atmospheric equation
如何在 Python 中实现 Bennett 大气方程?
等式是:
其中 h
是以度为单位的真实高度,以弧分为单位的折射 R
你应该看看mathematical functions in Python。
如果 cot
是余切值,这个非常简单的脚本就可以完成工作:
import math
def R(h):
return 1.02 / math.tan( h + 10.3 / (h + 5.11) )
print R(1)
如何在 Python 中实现 Bennett 大气方程?
等式是:
其中 h
是以度为单位的真实高度,以弧分为单位的折射 R
你应该看看mathematical functions in Python。
如果 cot
是余切值,这个非常简单的脚本就可以完成工作:
import math
def R(h):
return 1.02 / math.tan( h + 10.3 / (h + 5.11) )
print R(1)