⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psdip3

📁 su 的源代码库
💻
字号:
#! /bin/sh# Purpose: Same as XDip1, but using "physical" dt and dxdemo=dip3amps=1,0,0,1	# In this demo, we try to kill a reflector of given slope###MODEL#### We make some simple data with suplane.  Note that in units of# trace/timesample the default slopes in suplane are 0, 1, 2, so# that the middle reflector is spatially just at Nyquist and the# the steepest reflector is spatially aliased.## In this demo, we use the nominal physical units in sudipfilt which# are dt=4ms and dx=d2=0.016km=16m.  Thus the slopes of the three# reflectors are {0,1,2}*0.004/0.016={0,1/4,1/2}# First make the synthetic data for the dip filtering demo.# Assume that trace spacing is measured in km.dx=0.016suplane | sushw key=d2 a=$dx >suplane.data# Plot the model supswigp <suplane.data title="Data: 3 sloping reflectors--Use dt=.004 dx=$dx" \	label1="Time (sec)" label2="Distance (km)" >${demo}.1.eps # Zap the flat reflectorslopes=-0.125,-0.0625,0.0625,0.125bias=0.0sudipfilt <suplane.data\	 slopes=$slopes amps=$amps bias=$bias |supswigp title="slope=$slopes amps=$amps bias=$bias" \	label1="Time (sec)" label2="Distance (km)" >${demo}.2.eps# Zap the middle reflectorslopes=0.0625,0.135,0.3125,0.375bias=0.0sudipfilt <suplane.data\	 slopes=$slopes amps=$amps bias=$bias |supswigp title="slope=$slopes amps=$amps bias=$bias" \	label1="Time (sec)" label2="Distance (km)" >${demo}.3.eps# Zap the steep reflectorslopes=0.3125,0.375,0.5625,0.635bias=0.0sudipfilt <suplane.data\	 slopes=$slopes amps=$amps bias=$bias |supswigp title="slope=$slopes amps=$amps bias=$bias" \	label1="Time (sec)" label2="Distance (km)" >${demo}.4.eps# Failed because steep reflector is spatially aliased.  Here the# bias parameter can help (see the sudipfilt self-doc).  Look at# the F-K spectrum:suspecfk <suplane.data |supswigp title="F-K Spectrum of Data" \	label1="Frequency" label2="K" >${demo}.5.eps# Try again, biasing actual slope 2 to slope 0slopes=0.3125,0.375,0.5625,0.635bias=0.5sudipfilt <suplane.data\	 slopes=$slopes amps=$amps bias=$bias |supswigp title="slope=$slopes amps=$amps bias=$bias" \	label1="Time (sec)" label2="Distance (km)"  >${demo}.6.epsecho echo "Output PostScript files:"echo -n "     "for i in ${demo}.*.epsdo	 echo -n "$i "doneechoecho "You may view these with your PostScript Previewer"exit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -