Added EDI files read support.

Fixed all srcMT to take 2 inputs.
This commit is contained in:
GudniRos
2015-07-02 14:00:37 -07:00
parent 205ee000a2
commit ed72fba063
10 changed files with 243 additions and 17 deletions
+5 -2
View File
@@ -17,5 +17,8 @@ def getAppRes(MTdata):
def appResPhs(freq,z):
app_res = ((1./(8e-7*np.pi**2))/freq)*np.abs(z)**2
app_phs = np.arctan2(-z.imag,z.real)*(180/np.pi)
return app_res, app_phs
app_phs = np.arctan2(z.imag,z.real)*(180/np.pi)
return app_res, app_phs
def rec2ndarr(x,dt=float):
return x.view((dt, len(x.dtype.names)))