📄 xshape
字号:
#! /bin/shWIDTH=420HEIGHT=400HEIGHT2=900WIDTHOFF1=0WIDTHOFF2=430WIDTHOFF3=860HEIGHTOFF1=50HEIGHTOFF2=500###PURPOSE#### We make some simple data: 8 traces with 2-way reverberations and# a weak tilting reflector hidden underneath the reverberations. The# spike data is convolved with the minimum phase wavelet specified below.# The purpose of this demo is to create and apply a wavelet shaping# filter # Construction of the minimum phase wavelet with Mathematica:# (2-z)(3+z)(3-2z)(4+z)(4-2z)(4+3z)//(CoefficientList[#,z])&# {1152, -384, -904, 288, 174, -34, -12}# First make the synthetic data for the deconvolution demo.######START OF MODEL######I=${CWPROOT}/includeL=${CWPROOT}/libcc traces.c -I$I -L$L -lcwp -lm./a.out |suaddhead ns=512 |sushw key=dt a=4000 |suaddnoise sn=2000 |suconv filter=1152,-384,-904,288,174,-34,-12 >modeldatarm a.out######END OF MODEL####### Plot the model suxwigb <modeldata title="Data: 64ms reverbs" \ windowtitle="Data" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT2 xbox=$WIDTHOFF1 ybox=$HEIGHTOFF1 &sushape w=1152,-384,-904,288,174,-34,-12 d=1 < modeldata |suxwigb title="Data: Shaping filter applied" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT2 xbox=$WIDTHOFF2 ybox=$HEIGHTOFF1 &echo "Zoom in on traces to see that arrivals have been spiked" exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -