📄 psshape
字号:
#! /bin/shWIDTH=4HEIGHT=4HEIGHT2=9###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 supswigb <modeldata title="Data: 64ms reverbs" \ windowtitle="Data" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT2 xbox=$WIDTHOFF1 ybox=$HEIGHTOFF1 > data.pssushape w=1152,-384,-904,288,174,-34,-12 d=1 < modeldata |supswigb title="Data: Shaping filter applied" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT2 xbox=$WIDTHOFF2 ybox=$HEIGHTOFF1 > shape.psecho "You may view the files data.ps and shape.ps with your PostScript Previewer" exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -