27 lines
611 B
Python
27 lines
611 B
Python
|
|
import numpy as np
|
|
import oh2004
|
|
|
|
sigma0vvdB = -14.1
|
|
sigma0hhdB = -16.0
|
|
sigma0hvdB = -26.5
|
|
theta = 35. ##Incidence angle
|
|
f = 5.0 ##GHz
|
|
#print(sigma0vvdB,sigma0hhdB,sigma0hvdB,theta,f)
|
|
#print(oh2004.inverse_oh2004(sigma0vvdB,sigma0hhdB,sigma0hvdB,theta,f))
|
|
|
|
n=3
|
|
mask=np.ones((3))
|
|
mask[1]=0
|
|
mask=mask.astype(np.int32)
|
|
sigma0hhdB=np.ones((3))*sigma0hhdB
|
|
sigma0vvdB=np.ones((3))*sigma0vvdB
|
|
sigma0hvdB=np.ones((3))*sigma0hvdB
|
|
theta=np.ones((3))*theta
|
|
mv=np.zeros(3)*1.0
|
|
h=np.zeros(3)*1.0
|
|
oh2004.retrieve_oh2004_main(n,mv,h, mask,sigma0vvdB,sigma0hhdB,sigma0hvdB,sigma0hvdB, theta,f)
|
|
print(mask)
|
|
print(mv)
|
|
print(h)
|