parent
791f7c281f
commit
4c4c0e036b
6
core.py
6
core.py
|
|
@ -444,7 +444,11 @@ def tangent_line_k(line_x, line_y, center_x, center_y, radius, init_k=10.0):
|
||||||
|
|
||||||
|
|
||||||
def func_ng(td): # 地闪密度,通过雷暴日计算
|
def func_ng(td): # 地闪密度,通过雷暴日计算
|
||||||
return 0.023 * (td ** 1.3)
|
if para.ng > 0:
|
||||||
|
r = para.ng
|
||||||
|
else:
|
||||||
|
r = 0.023 * (td ** 1.3)
|
||||||
|
return r
|
||||||
|
|
||||||
|
|
||||||
# 圆和地面线的交点,只去正x轴上的。
|
# 圆和地面线的交点,只去正x轴上的。
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
Version: 1.2.0
|
Version: 1.2.0.2
|
||||||
#CompanyName: My Imaginary Company
|
#CompanyName: My Imaginary Company
|
||||||
#FileDescription: Simple App
|
#FileDescription: Simple App
|
||||||
#InternalName: Simple App
|
#InternalName: Simple App
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue