Skip to content

Commit 9a4cf4b

Browse files
committed
Test vfsa with a multi layer model Resolve #6
Get CRS parameters and CRS approximated surface for a multi layer model using VFSA. Use central CMP m0=3Km, near surface velocity v0=1.5 and a list of t0's, one for each reflector.
1 parent 9ac456f commit 9a4cf4b

File tree

1 file changed

+36
-19
lines changed

1 file changed

+36
-19
lines changed

usage_examples/unif2_model/SConstruct

+36-19
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,41 @@ Result('mod1',
6868
label2="Distance (km)"
6969
''' % (zmax/xmax))
7070

71-
shots = (2.0,2.6,3.3,3.95)
72-
plots = []
73-
for s in range(4):
74-
shot = 'shot%d' % s
75-
Flow(shot,'refs dips',
76-
'''
77-
kirmod_newton nt=751 dt=0.004 freq=15
78-
ns=1 s0=%g ds=0.01 nh=60 dh=0.04 h0=-1.2 verb=y
79-
vstatus=0 velocity=%s debug=n fwdxini=y
80-
xref=0 zref=0 dip=${SOURCES[1]}
81-
''' % (shots[s],vstr))
82-
Plot(shot,
83-
'''
84-
wiggle transp=y yreverse=y poly=y
85-
title="Shot at %g km"
86-
''' % shots[s])
87-
plots.append(shot)
88-
89-
Result('shots',plots,'SideBySideAniso')
71+
# Kirchoff modeling for multi layer model
72+
Flow('dataCube','refs dips',
73+
'''
74+
kirmod_newton nt=1001 dt=0.004 freq=10
75+
ns=401 ds=0.025 nh=161 dh=0.025 h0=0 s0=0 verb=y cmp=y
76+
vstatus=0 velocity=%s debug=n fwdxini=y
77+
xref=0 zref=0 dip=${SOURCES[1]} |
78+
put d2=0.0125 label3="CMP" unit3="Km" label2="Offset" unit2="Km" label1=Time unit1=s
79+
''' % (vstr))
80+
81+
Flow('templateSurface','spike n1=161 d1=0.0125 o1=0 n2=401 d2=0.025 o2=0 unit1=Offset unit2=CMP')
82+
83+
# Very Fast Simulated Aneelling Global Optimization (VFSA)
84+
m0=3
85+
v0=1.508
86+
t0=[0.5,0.8,0.9]
87+
for i in range(3):
88+
89+
crsParamters = 'crsParameters-%d' % i
90+
crsAppSurface = 'crsAppSurface-%d' % i
91+
92+
Flow(crsParameters,'dataCube',
93+
'''
94+
vfsacrsnh m0=%g v0=%g t0=%g verb=y repeat=2
95+
''' % (m0,v0,t0[i]))
96+
97+
# Aproximation surface for each reflector
98+
Flow(crsAppSurface,['templateSurface',crsParameters],
99+
'''
100+
nhcrssurf param=${SOURCES[1]} m0=%g v0=%g t0=%g verb=y
101+
''' % (m0,v0,t0[i]))
102+
Plot(crsAppSurface,
103+
'''
104+
grey color=j bias=2 scalebar=y barlabel=Time barunit=s barreverse=y
105+
title="Non-hyperbolic CRS m0=5Km" label1=Half-Offset unit1=km label2=Midpoint unit2=km
106+
''')
90107

91108
End()

0 commit comments

Comments
 (0)