📄 xdecon2
字号:
#! /bin/shWIDTH=420HEIGHT=400WIDTHOFF1=0WIDTHOFF2=430WIDTHOFF3=860HEIGHTOFF1=50HEIGHTOFF2=500tpow=1 # gain power before examining autocorrelations # tpow=2 might be better for field datamix=1,1,1###PURPOSE#### Same as in demo1, except here gapped decon comes before# spiking decon. Again, you are to assume that the decon# parameters are estimated from the autocorrelation shown in# frame two. Also see demo1 for the comments on making the data.# First make the synthetic data for the deconvolution demo.######START OF MODEL######I=${CWPROOT}/includeL=${CWPROOT}/libmake./traces |suaddhead ns=512 |sushw key=dt a=4000 |suaddnoise sn=2000 |suconv filter=1152,-384,-904,288,174,-34,-12 >modeldatarm traces######END OF MODEL####### Plot the model suxwigb <modeldata title="Data: 64ms reverbs" \ windowtitle="Data" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF1 ybox=$HEIGHTOFF1 & # Plot the autocorrelation with gainsugain <modeldata tpow=$tpow |suacor nt=31 |suxwigb title="Autocorrelation" \ windowtitle="AutoCorr" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF2 ybox=$HEIGHTOFF1 &# The autocorrelation shows that:# wavelet extends to about 30ms# first repetition ends at about 160ms# this accords well with the actual 64ms reverberations and wavelet of 24ms ######DECON EXAMPLES####### Attack reverberationssupef pnoise=0.0005 mix=$mix <modeldata minlag=.05 maxlag=.16 |suxwigb label1="Time" label2="Trace" title="PEF: 50,160ms" \ windowtitle="PEF" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF3 ybox=$HEIGHTOFF1 &# Plot the autocorrelation after PEFsupef pnoise=0.0005 mix=$mix <modeldata minlag=.05 maxlag=.16 |sugain pbal=1 |suacor nt=31 |suxwigb title="Autocor after PEF" \ windowtitle="AutoCorr/PEF" \ label1="Time (sec)" label2="Trace" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF1 ybox=$HEIGHTOFF2 &# Spike it upsupef pnoise=0.0005 mix=$mix <modeldata minlag=.05 maxlag=.16 |supef pnoise=0.0005 mix=$mix maxlag=.04 |suxwigb label1="Time" label2="Trace" title="Spike: 4,40ms" \ windowtitle="Spike" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF2 ybox=$HEIGHTOFF2 &# Bandpasssupef pnoise=0.0005 mix=$mix <modeldata minlag=.05 maxlag=.16 |supef pnoise=0.0005 mix=$mix maxlag=.04 |sufilter f=5,15,80,100 |suxwigb label1="Time" label2="Trace" title="PEF, Spike, BP" \ windowtitle="Final" \ wbox=$WIDTH hbox=$HEIGHT xbox=$WIDTHOFF3 ybox=$HEIGHTOFF2 &exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -