update constant in casing analytic to match whole-space dipole soln

This commit is contained in:
Lindsey Heagy
2015-06-16 11:37:57 -07:00
parent 32f83322ca
commit 527133c709
2 changed files with 13 additions and 10 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ from simpegEM.Utils.EMUtils import k
def getKc(freq,sigma,a,b,mu=mu_0,eps=epsilon_0):
a = float(a)
b = float(b)
return 2./np.pi * np.sqrt(b / a) * np.exp(-1j*k(freq,sigma,mu,eps)*(b-a))
# return 1./(2*np.pi) * np.sqrt(b / a) * np.exp(-1j*k(freq,sigma,mu,eps)*(b-a))
return np.sqrt(b / a) * np.exp(-1j*k(freq,sigma,mu,eps)*(b-a))
def _r2(xyz):
return np.sum(xyz**2,1)