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

📄 rpsv3

📁 su 的源代码库
💻
字号:
#! /bin/sh# Computes a PSV seismogram of a layer over a half space# McMechan and Sun's model. Depth filtering of first breaks and ground-roll.# Geophysics 1991.# output fileswfp=./pressure3wfr=./radial3wfz=./vertical3outf=./info3# input parameterstsec=4.096		# length of computed trace (seconds)fs=0.07			# sampling paramter 0.07<fs<0.12decay=5.0		# decay factor to avoid time series wraparoundflt=0			# earth flattening flaglsource=4		# layer on top of which the source is locatednlayers=5		# number of layers to processnw=240			# number of frequencies to process for ref. modelingnor=1			# number of receiversdt=0.004		# time sampling interval (secs)p2w=1.0			# maximum ray parameter (s/km)lobs=3			# layers on top of which the receivers are locatedbx=0.025		# beginning range (in km)fx=3.5			# final range (offset) (in km)dx=0.025		# 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.=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=1.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=1.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=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=3.5,3.5,3.5,3.5,5.9ct=2.2,2.2,2.2,2.2,2.9ql=50,50,50,50,1000qt=30,30,30,30,600rho=2.65,2.65,2.65,2.65,2.8t=0.001,0.001,0.343,0.655,2.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=3.5		# reducing velocity, equal to maxcimum cl if set to 0fpeak=25		# peak frequency for ricker or akb waveletnf=512			# number of frequencies in the output datant=1024			# number of time samples in output tracestlag=3.0		# time lag in secondsnx=140			# 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" xbox=600 &suxwigb < $wfz title="####PSV vertical field perc=$perc f=$fpeak" perc=$perc \	label1="time (s)" label2="Trace Number" xbox=300 ybox=300  &exit 0

⌨️ 快捷键说明

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