SPECT.drive(RSEIS)
SPECT.drive()所属R语言包:RSEIS
Interactive Spectrogram Driver
互动谱图驱动程序
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Interactive Spectrogram Driver
互动谱图驱动程序
用法----------Usage----------
SPECT.drive(Xamp, DT = 0.008, NEW = TRUE, STAMP = NULL , freqlim=c(0, 20, 0, 20), winparams=c(4096,256, 204 ))
参数----------Arguments----------
参数:Xamp
signal trace
信号跟踪
参数:DT
deltaT sample interval, s
DeltaT的采样间隔,S
参数:NEW
logical, TRUE=recalculate spectrum
逻辑,TRUE =重新计算谱
参数:STAMP
character stamp for identification
用于识别的字符邮票
参数:freqlim
vector of 4 frequency limits: min max for calculations, min max for display. Default=see below
向量的4个频率范围:最小值最大值进行计算,最小最大显示。默认值=见下文
参数:winparams
vector of 3 window parameters: Number of points for FFT, number of time samples for window, number of overlap samples: default=see below
向量的3窗口参数:数点FFT,时间样本数为窗口,重叠的样本数:默认=见下文
Details
详细信息----------Details----------
Interactive buttons are set internally. The parameters freqlim and winparams can be changed - these are simply the starting parameters for the initial display.
内部设置交互式按钮。参数freqlim和winparams是可以改变的 - 这是简单的参数初始显示。
For winparams, the parameters are set to be appropriate for sample rates of typical seismic data, 100-125 samples per second. The number of points in the FFT are initially set to 4096 and the time window is set to 256. The overlap is calculated by subtracting 20 percent of the time window, so the overlap is 80 percent. Of course, the number of samples in a window must be less than the length of input time series.
对于winparams,参数被设定为适当的采样率,典型的地震数据,100-125样本每秒。 FFT中的点的数量的初始设置为4096,在时间窗口设置为256。重叠计算减去20%的时间窗口,这样的重叠为80%。当然,在一个窗口中的样本数必须是小于输入的时间序列的长度。
值----------Value----------
Graphical Side Effects
图形化的副作用
(作者)----------Author(s)----------
Jonathan M. Lees<jonathan.lees.edu>
参见----------See Also----------
plotevol, RPMG
plotevol,RPMG
实例----------Examples----------
data(CE1)
######### Xamp = CE1$y[CE1$x>5.443754 & CE1$x<5.615951][########XAMP = CE1 $ Y [CE1 $ x> 5.443754&CE1 $ X <5.615951]]
Xamp = CE1$y
plot(Xamp, type='l')
DT = CE1$dt
SPECT.drive(Xamp, DT = DT, NEW = TRUE, STAMP = NULL)
## Not run: [#不运行:]
data(KH)
Xamp = KH$JSTR[[1]]
DT = KH$dt[1]
SPECT.drive(Xamp, DT = DT, NEW = TRUE, STAMP = NULL)
SPECT.drive(Xamp, DT = DT, NEW = FALSE, STAMP = NULL, freqlim=c(0, 8,
0, 8) , winparams=c(4*1024, 6*250, 6*250-1) )
TWIN = 100 # seconds[秒]
NWIN = TWIN/DT # samples[样本]
NSKIP = 1/DT ## samples[#示例]
SPECT.drive(Xamp, DT = DT, NEW = FALSE, STAMP = NULL, freqlim=c(0, 8,
0, 8) , winparams=c(8*1024, NWIN, NWIN-NSKIP) )
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|