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

📄 firstbreak

📁 su 的源代码库
💻
字号:
#! /bin/sh# First break picking# Author: Jack# NOTE: Comment lines preceeding user input start with  #!##set -x#!# Set parametersinput=cdpby100cdp=601		# pick a cdp -- also used for naming output filesdxcdp=13.36timefrac=2	# use first  nt/timefrac samplesfold=30 panelsize=6### Label output according to cdp number and get the cdppickfile=fbpicks.$cdpnt=`sugethw ns <$input | sed 1q | sed 's/.*ns=//'`itmax=`bc -l <<-END	$nt / $timefracEND`suwind <$input key=cdp min=$cdp max=$cdp count=$fold |suwind itmax=$itmax >cdp.$cdp### Do the pickingecho "Pick first breaks by moving mouse and typing 's', type 'Q' when done"trace=1while [ $trace -le $fold ]do	sushw <cdp.$cdp key=tracr a=1 b=1 |	suwind key=tracr min=$trace count=$panelsize |	suxwigb perc=99 xcur=0.25 nbpi=96 f2=$trace d2=1 wbox=1100 \		label1="Time (sec)" label2="Velocity (m/sec)" \		mpicks=mpicks.$trace	trace=`bc -l <<-END		$trace + $panelsize	END`doneset +x### Combine the individual picksecho "Editing pick files ..."trace=1while [ $trace -le $fold ]do	cat mpicks.$trace	trace=`bc -l <<-END		$trace + $panelsize	END`done |awk '	BEGIN	{dx='$dxcdp'}		{print $1 "	" (NR-1)*dx}' >$pickfilea2b <$pickfile >temp outpar=picks.pxgraph <temp par=picks.p nplot=1 \	label1="Time (sec)" label2="Range (m)" \	title="First Breaks" \	grid1=solid grid2=solid \	linecolor=2 style=seismic &### Clean uptrace=1while [ $trace -le $fold ]do	rm mpicks.$trace	trace=`bc -l <<-END		$trace + $panelsize	END`donerm tempecho "The first breaks are recorded in $pickfile"

⌨️ 快捷键说明

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