mirror of
https://github.com/HongjianFang/DSurfTomo.git
synced 2025-12-17 16:21:07 +08:00
incorporating random projections based inversion using Poisson Voronoi cells
This commit is contained in:
@@ -8,10 +8,11 @@ import numpy as np
|
||||
#start
|
||||
nx=18
|
||||
ny=18
|
||||
nz=8
|
||||
minvel=0.8
|
||||
velgrad=0.5
|
||||
dep1=np.array([0,0.2,0.4,0.6,0.8,1.1,1.4,1.8,2.5])
|
||||
#dep1=np.array([0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.3,1.5,1.8,2.1,2.5])
|
||||
nz=len(dep1)
|
||||
#end
|
||||
vs1=np.zeros(nz)
|
||||
mod=np.zeros((nz*ny,nx))
|
||||
@@ -29,4 +30,4 @@ with open('MOD','w') as fp:
|
||||
fp.write('%7.3f' % mod[k*ny+j,i])
|
||||
fp.write('\n')
|
||||
for i in range(nz):
|
||||
print dep1[i],
|
||||
print (dep1[i]),
|
||||
|
||||
Reference in New Issue
Block a user