def getZ2(el,recpos):
"""
sqrt( [a+h+s]^2 - [a*cos(el)]^2 ) - sqrt( [a+h]^2 - [a*cos(el)]^2 )
z(el) = ---------------------------------------------------------------------
s
a is height of observing station from earth center in km,
h = 300km is height of ionosphere slab
s = 200km is slab thickness
"""
a = np.linalg.norm(recpos)/1000
h=300
s = 200
Z = (np.sqrt((a+h+s)**2-(a*np.cos(np.radians(el[el>30])))**2)
-np.sqrt((a+h)**2-(a*np.cos(np.radians(el[el>30])))**2))/s
return Z
评论列表
文章目录