📄 rpsv2
字号:
#! /bin/sh# Computes an SH seismogram of a layer over a half space# output fileswfp=./pressure2wfr=./radial2wfz=./vertical2outf=./info2# input parameterstsec=51.2 # length of computed trace (seconds)fs=0.09 # sampling paramter 0.07<fs<0.12decay=10.0 # decay factor to avoid time series wraparoundflt=1 # earth flattening flaglsource=4 # layer on top of which the source is locatednlayers=5 # number of layers to processnw=256 # number of frequencies to process for ref. modelingnor=1 # number of receiversdt=0.1 # time sampling interval (secs)p2w=0.4 # maximum ray parameter (s/km)lobs=3 # layers on top of which the receivers are locatedbx=16 # beginning range (in km)fx=32 # final range (offset) (in km)dx=2 # 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=1 # source type.=2 for explosive, 1 for fault planeh1=0.0 # vertical linear part of the sourceh2=0.0 # horizontal linear part of the sourcem0=1.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=90.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=0 # number of times layer interpolation is requirednintlayers= # array[nlint] of number of layers to interpolateintlayers= # array[nlint] of layers on top of which to interpolateintlayth= # 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=6.198,6.198,6.200,6.201,8.200ct=3.499,3.499,3.500,3.501,4.500ql=600,600,600,600,600qt=300,300,300,300,300rho=2.698,2.698,2.700,2.701,3.400t=0.001,0.001,8.000,24.00,100.0# output parameterswtype=2 # =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=3.5 # 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=3.0 # time lag in secondsnx=7 # number of output traces# output filter parameters (can be input from files, filtypefile,dbpofile, etc)nfilters= # number of filters to apply to output tracesfilters_type= # =1 for high cut filter, =2 for low-cut filter # =3 for notch filterfilters_phase= # =0 for zero phase filter, =1 for minimum phase filterdbpo= # DB/octave for filter slopesf1= # frequency to start filter actionf2= # 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)" label2="Trace Number" &suxwigb < $wfz title="####PSV vertical field perc=$perc f=$fpeak" perc=$perc \ label1="time (s)" label2="Trace Number" &exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -