📄 rpsv
字号:
#! /bin/shset -x# define parent directoryMYHOME=.# output fileswfp=./pressurewfr=./radialwfz=./verticaloutf=./info# input parameterstsec=2.048 # length of computed trace (seconds)fs=0.07 # sampling paramter 0.07<fs<0.12decay=50.0 # decay factor to avoid time series wraparoundflt=0 # earth flattening flaglsource=3 # layer on top of which the source is locatednlayers=6 # number of layers to processnw=60 # number of frequencies to process for ref. modelingnor=1 # number of receiversdt=0.004 # time sampling interval (secs)p2w=3.8 # maximum ray parameter (s/km)lobs=2 # layers on top of which the receivers are locatedbx=0.025 # beginning range (in km)fx=2.975 # final range (offset) (in km)dx=0.05 # range increment (in km)pw1=0.0 # begin of low end Hanning window for ray parameter s/kmpw2=0.0 # end of low end Hanning window for ray parameter s/kmpw3=0.0 # begin of high end Hanning window for ray parameter pw4=0.0 # end of high end Hanning window for ray parameter s/km#source parametersstype=2 # source type.=1 for explosive, 2 for fault planeh1=1.0 # vertical linear part of the sourceh2=0.0 # horizontal linear part of the sourcem0=0.0 # seismic momentm1=0.0 # [1][1] component of the moment tensor (stpe=1)m2=0.0 # [1][2]=[2][1] component of the moment tensor (stype=1)m3=0.0 # [2][2] component of the moment tensor (stype=1)delta=0.0 # dip in degrees (stype=2)lambda=0.0 # rake in degrees (stype=2)phis=0.0 # fault plane azimuth in degrees (stype=2)phi=0.0 # receiver location azimuth in degrees (stype=2)#parameters needed only in layer interpolation is requirednlint=1 # number of times layer interpolation is requirednintlayers=1 # array[nlint] of number of layers to interpolateintlayers=1 # array[nlint] of layers on top of which to interpolateintlayth=1 # array[nlint] of layer thicknesses to interpolate# parameters required only if random velocity layers are requestedrand=0 # =1 to request random velocity layersnrand_layers=0 # maximum number of random layers allowedlayer=0 # layer on top of which the random velocity layers # are insertedzlayer=0 # thickness of random layerssdcl=0 # standard deviation for compressional velocitiessdct=0 # standard deviation for shear velocities# parameters required only if qoption is requestedqopt=0 # =1 to request the q-optionlayern=0 # layer on top of which the q-option is invoked wrefp=1.0 # reference frequency for compressional velocitieswrefs=1.0 # reference frequency for shear velocitiesepsp=0.001 # reference amplitude for compressional velocitiesepss=0.001 # reference amplitude for shear velocitiessigp=0.1 # xxxx for comporessional velocitiessigs=0.1 # xxxx for shear velocities# key input parameters, (can be input from files, clfile, ctfile, etc) cl=0.400,0.600,0.800,1.200,1.500,3.200ct=0.300,0.400,0.600,0.800,1.000,2.500ql=15.0,25.0,30.0,50.0,100.0,200.0qt=7.5,12.5,15.0,25.0,50.0,100.0rho=1.800,1.800,1.900,2.100,2.300,2.500t=0.003,0.005,0.010,0.020,0.050,1.00# output parameterswtype=1 # =1 for PSV, =2 for SHwfield=2 # =1 for displacement, 2 for velocity, 3 for acceleravsp=0 # =1 for vsp, 0 for surface seismogramwin=0 # =1 for windowed frequencieswavelet_type=2 # =1 for spike, =2 for ricker1, =3 for ricker2, # =4 for an akb waveletverbose=3 # =0 for no processing information, =1 for processing # information in the screen, =2 for processing # information to a file (outf) =3 for bothred_vel=0 # reducing velocity, equal to maxcimum cl if set to 0fpeak=25 # peak frequency for ricker or akb waveletnf=256 # number of frequencies in the output datant=512 # number of time samples in output tracestlag=0.0 # time lag in secondsnx=60 # number of output traces# output filter parameters (can be input from files, filtypefile,dbpofile, etc)nfilters=2 # number of filters to apply to output tracesfilters_type=2,1 # =1 for high cut filter, =2 for low-cut filter # =3 for notch filterfilters_phase=0,0 # =0 for zero phase filter, =1 for minimum phase filterdbpo=24,24 # DB/octave for filter slopesf1=3.0,30.0 # frequency to start filter actionf2=0.0,0.0 # high end frequency filter# plotting parameters:agc=0 # apply agc to the plot wagc=0.5 # agc window length (sec) pbal=1 # trace balancing by rms valueqbal=0 # trace balancing by clip valueqclip=1.0 # clip by quantile on absolute value of traceperc=99 # perc to apply to plot##############################################################################sureflpsvsh fs=$fs decay=$decay flt=$flt lsource=$lsource nw=$nw nor=$nor \ tsec=$tsec dt=$dt lobs=$lobs bx=$bx fx=$fx dx=$dx nx=$nx \ pw1=$pw1 pw2=$pw2 pw3=$pw3 pw4=$pw4 p2w=$p2w \ stype=$stype h1=$h1 h2=$h2 m0=$m0 m1=$m1 m2=$m2 m3=$m3 delta=$delta \ lambda=$lambda phis=$phis phi=$phi \ rand=$rand nrand_layers=$nrand_layers layer=$layer zlayer=$zlayer \ sdcl=$sdcl sdct=$sdct \ qopt=$qopt layern=$layern wrefp=$wrefp wrefs=$wrefs epsp=$epsp \ epss=$epss sigp=$sigp sigs=$sigs \ cl=$cl ct=$ct ql=$ql qt=$qt rho=$rho t=$t nlayers=$nlayers \ wtype=$wtype wfield=$wfield red_vel=$red_vel nf=$nf win=$win vsp=$vsp \ wavelet_type=$wavelet_type verbose=$verbose nfilters=$nfilters \ filters_type=$filters_type dbpo=$dbpo f1=$f1 f2=$f2 nt=$nt tlag=$tlag \ fpeak=$fpeak filters_phase=$filters_phase \ wfp=$wfp wfr=$wfr wfz=$wfz outf=$outf# plot the resultssuxwigb < $wfp title="####PSV pressure field perc=$perc f=$fpeak" perc=$perc \ label1="time (s)" label2="Trace Number" &suxwigb < $wfr title="####PSV radial field perc=$perc f=$fpeak" perc=$perc \ label1="time (s)" xbox=600 label2="Trace Number" &suxwigb < $wfz title="####PSV vertical field perc=$perc f=$fpeak" perc=$perc \ label1="time (s)" xbox=300 ybox=300 label2="Trace Number" &exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -