swig(RSEIS)
swig()所属R语言包:RSEIS
Seismic Wiggle Analysis
地震扭动分析的
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Main Interactive Program for plotting and analyzing seismic waveform data.
主要互动节目策划和分析地震波形数据。
用法----------Usage----------
swig(GH, sel = 1:length(GH$dt), ORD = NULL, WIN = NULL, APIX = NULL,
PHASE = NULL,
STDLAB = NULL, PADDLAB = NULL, TEMPBUT=NULL,
SHOWONLY = FALSE, CHOP = FALSE, TIT = "",
pts = FALSE, forcepix = FALSE, pcex=0.7, SCALE = 1, ilocstyle=1,
velfile = "", stafile = "", LOC = NULL,
prefilt=list(fl=.2, fh=15, type="HP", proto="BU"), filters=NULL, YAX = 1 , xtickfactor = 1)
参数----------Arguments----------
参数:GH
Seismic data structure
地震数据体结构
参数:sel
selection of traces from structure
选择从结构的痕迹
参数:ORD
order to plot traces
为了图的痕迹
参数:WIN
vector c(t1, t2) for window of traces to be shown
向量c(T1,T2)的窗口的痕迹显示
参数:APIX
structure of arrival time picks
结构的到达时间选择
参数:PHASE
phase to display, "P", "S", etc
阶段显示,“P”,“S”,等
参数:STDLAB
label of buttons
标签的按钮
参数:PADDLAB
label of phase-pick buttons
相选择按键标签
参数:TEMPBUT
temporary, user defined buttons
暂时的,用户自定义按钮
参数:SHOWONLY
logical, TRUE=non-interactive
逻辑,TRUE =非互动
参数:CHOP
whether to chop the signal
是否砍信号的
参数:TIT
title for the top of plot
图的顶部标题
参数:pts
whether to plot specific points on the plot
是否在图上绘制的特定点
参数:forcepix
logical, force all phase picks to be shown on all traces
逻辑,强制的所有阶段挑选上显示的所有痕迹
参数:pcex
Pick label size expansion (cex), default=0.7
选择标签规模的扩大(CEX),默认值= 0.7
参数:SCALE
flag, 1,0= scale according to window or trace
标志,1,0 =规模根据窗口或跟踪的
参数:ilocstyle
integer, style of click graphic, one of -1, 0, 1, 2, 3, indicating: points, abline, segs, segs+abline, segs+long-abline , default=1
整数,风格,单击图形,1,-1,0,1,2,3,说明:点,abline,分段,分段+ abline,分段+术语abline,默认= 1
参数:velfile
velocity structure or file name
速度结构或文件名
参数:stafile
station structure or file name
车站结构或文件名
参数:LOC
source location structure (lat, lon, depth)
源位置结构(纬度,经度,深度)
参数:prefilt
default filter definition list(fl=.2, fh=15, type="HP", proto="BU")
默认的过滤器定义列表(FL,FH = 0.2 = 15,键入“HP”,原“BU”)
参数:filters
a list of filters for choosfilt, the list consists of 3 vectors: flo, fhi and type defining the filter choices.
一个的过滤器choosfilt列表,列表中包含的3个向量:FLO,富士重工和类型定义过滤器的选择。
参数:YAX
type of Yaxis label, 1,2,3 DEFAULT=1 only one y-axis others scaled; 2=all y-axes are plotted on left; 3=all y-axes plotted, alternating left and right
Y轴标签的类型,1,2,3 DEFAULT = 1,只有一个y轴缩放人,2 = y轴绘制在左边; 3 = y轴绘制,交替向左和向右
参数:xtickfactor
Factor for multiplying the x-axis tick markers (default=1; for minutes=60, hrs=3600, days=24*3600)
因子相乘的x轴刻度标记(默认为1分钟= 60小时= 3600天= 24 * 3600)
Details
详细信息----------Details----------
This is the main program that drives the other analysis in RSEIS. GH is a list consisting of header (meta-data) and time series information. See documentation on GH to get complete description.
这是主要的驱动其他在RSEIS分析程序。 GH是组成的列表中的标头(元数据)和时间序列信息。请参阅文档GH得到完整的描述。
A set of filters can be defined by the user, see choosfilt
可以由用户定义的一组过滤器,请参阅choosfilt
Default Buttons, can be created by: STDLAB = c("DONE", "QUIT","zoom out", "zoom in", "Left", "Right", "restore", "Pinfo","WINFO", "XTR", "SPEC", "SGRAM" ,"WLET", "FILT", "UNFILT", "SCALE", "Postscript")
默认按钮,可以创建者:STDLAB = C(“DONE”,“退出”,“缩小”,“放大”,“左”,“右”,“恢复”,“ ; PINFO“,”WINFO“,的”XTR“,”SPEC“,”SGRAM“中,”WLET“,”FILT“中,”UNFILT“,”SCALE“,”后记“)
If the user has defined STDLAB.DEFAULT and PADDLAB.DEFAULT in the .Rprofile or .First commands, these will override the default in the function definition.
如果用户已经定义STDLAB.DEFAULT,PADDLAB.DEFAULT中。Rprofile或首先命令,将覆盖默认情况下,在函数定义中。
值----------Value----------
Various structures are returned based on interactive selections of the user.
各种结构的返回的基于交互式用户选择。
Howeverr, the default return list:
Howeverr,则默认返回列表:
参数:but
last button pushed
最后一个按钮推
参数:sloc
location of last set of clicks
点击最后一组的位置
参数:WPX
set of saved WPIX (window picks
保存WPIX(窗口精选集
参数:BRUNINFO
Brune Model information
布伦型号信息
参数:DETLINFO
Detailed information about traces
详细信息痕迹
参数:mark
mark (MARK button was pressed
马克(Mark按钮被按下
参数:PUSHED
list of all buttons pressed prior to exit
列表中的所有按钮按下之前退出
注意----------Note----------
If using the filters for button FILT, it is useful to have a "None" in case no filter is desired (i.e. user changes mind).
如果使用的过滤器按钮FILT,它是非常有用的“无”的情况下,没有过滤器是理想的(即用户改变心态)。
(作者)----------Author(s)----------
Jonathan M. Lees<jonathan.lees.edu>
参见----------See Also----------
PICK.DOC, GH, RPGM, choosfilt
PICK.DOC,GH,RPGM,choosfilt
实例----------Examples----------
data("GH")
### This loads a structure[##加载的结构]
STDLAB = c("DONE", "QUIT","zoom out", "zoom in", "Left", "Right", "restore", "Pinfo","WINFO",
"XTR", "SPEC", "SGRAM" ,"WLET", "FILT", "UNFILT", "SCALE", "Postscript")
sel=GH$COMPS=="V"
p = swig(GH, sel=sel, STDLAB=STDLAB)
print(p)
p = swig(GH, sel=sel, WIN=c(4,14) , STDLAB=c("DONE", "LAME", "DAME"))
print(p)
############ example with filter[###########带过滤器的例子]
data(KH)
thefilts =
list(flo=
c(0.02, 0.02, 0.02, 0.02, 0.02, 0.02,
0.02, 0.02, 0.02, 0.02, 0.02, 0.02,
0.02,
1/2, 1/50,1/100, 1/100,
1/100,1/100,1/100,1,1,
0.2, 15, 5, 2,1,
100),
fhi=
c(1/10, 1/6, 1/5, 1/4, 1/3, 1/2,
0.2, 0.5, 1.0, 2.0, 3.0, 4.0,
7.0,
8, 1/2.0,1/5.0,1/10.0,
1/20, 1/30,1/40,10,5,
7.0, 100, 100, 100,10,
100),
type =
c("LP","LP", "LP", "LP", "LP", "LP",
"LP","LP", "LP", "LP", "LP", "LP",
"LP",
"BP", "BP","BP","BP","BP","BP",
"BP","BP","BP",
"HP", "HP","HP", "HP","HP",
"None"))
swig(KH, filters=thefilts)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|