wavMRD(wmtsa)
wavMRD()所属R语言包:wmtsa
Calculate the detail sequences for wavelet transform crystals
详细计算序列小波变换晶体
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Let W(j,n) be a discrete wavelet packet crystal where j is the decomposition level and n is the oscillation index. The detail sequence D(j,t) is formed (essentially) by reconstructing the transform after zeroing out all other crystals except W(j,n). The wavMRD function
让我们W(j,n)是一个离散小波包晶j是分解水平和n是振荡指数。细节序列D(j,t)形成(本质上)重建改造后清空以外的所有其他晶体W(j,n)。 wavMRD功能
用法----------Usage----------
wavMRD(x, level=NULL, osc=NULL)
参数----------Arguments----------
参数:x
an object of class wavTransform.
对象类wavTransform。
参数:level
an integer (vector) containing the decomposition level(s) corresponding to the crystal(s) to be decomposed. Default: If the input is of class wavTransform, then the default is to return the details at all levels of the transform, i.e., a full multiresolution decomposition.
含有分解阶层(s)(s)到被分解晶体对应的整数(矢量)。默认值:如果输入的是类wavTransform,那么默认的是返回的详细信息,在各级变换,即一个完整的多分辨率分解。
参数:osc
an integer (vector) containing the oscillation indices corresponding to the crystal(s) to be decomposed. Default: the default values are coordinated with that of the level argument.
含有振荡指数对应于晶体(s)到被分解的一个整数(矢量)。 level参数的默认值:默认值进行协调。
值----------Value----------
an object of class WaveletMRD.
对象类WaveletMRD。
S3方法----------S3 METHODS----------
[ single level data access.
[单层次的数据访问。
Usage: x["D2"] or x["S4"]
用法:X [“D2”]或x [“S4”
Access a subset of wavelet transform details/smooth.
小波变换的细节/平滑访问的一个子集。
[<- single level data replacement method.
[< - 单级数据的替代方法。
Usage: x["D2"] <- 1:4
用法:X“D2”] < - 1:4
Replace an entire wavelet transform details/smooth with explicitly defined coefficients.
更换整个小波变换的细节/平滑明确定义的系数。
[[ double level data access.
[双层次的数据访问。
Usage: x[["D2"]] or x[[2]]
用途:×[[“D2”]]或x [[2]]
Returns a vector of wavelet transform detail/smooth coefficients corresponding to the specified crystal.
返回的小波变换的矢量对应于指定的晶体详细/平滑系数。
as.matrix transforms the list of wavelet transform details/smooth coefficients into a single-column matrix whose row names identify the transform coefficient, e.g., D4(3) is the third coefficient of the D4 detail.
as.matrix变换列表小波变换成一个单一的列的矩阵的行名识别D4(3)的变换系数,例如,是第三系数D4详细细节/平滑系数。
Usage: as.matrix(x)
用途:as.matrix(X)
boxplot plots a boxplot for each wavelet transform detail/smooth.
盒形图绘制盒形图的每个小波变换细节/平滑。
Usage: boxplot(x)
用途:盒状图(X)
crystal.names return the crystal names for each wavelet transform detail/smooth.
crystal.names返回名称为每个小波变换的水晶细节/平滑。
Usage: crystal.names(x)
用途:crystal.names(X)
plot plot a stack plot of the discrete wavelet transform details/smooth. Usage: plot(x, n.top=15, vgap=.05, col=1, show.sum=TRUE, add=FALSE, ...)
图图堆栈图的离散小波变换的细节/平滑。用途:图(X,n.top = 15,vgap指定= 0.05,列= 1,show.sum = TRUE,添加= FALSE,...)
xA wavMRD object.
XA wavMRD对象。
n.topAn integer defining the (maximum) number of top-most energetic crystals to plot. Default: 15.
n.topAn整数定义的(最大)的最顶端的水晶能量图。默认值:15。
sort.energyA logical value. If TRUE, the crystals are sorted in the display from the most energetic (top) to the least energetic (bottom) of the specified n.top crystals. Default: FALSE.
sort.energyA逻辑值。如果TRUE,晶体进行排序在显示屏的最有活力(顶部),以最少的精力充沛的(底部)的指定n.top晶体。默认值:FALSE。
vgapA numeric scalar defining the vertical gap between plots expressed as a fraction of the maximum value of the details/smooth that are plotted. Default: 0.05.
vgapA数值标量的一小部分的细节/平滑绘制的最大值表示为图之间限定的垂直间隙。默认值:0.05。
colAn integer or vecto rof integers deining the color index to apply to each detail/smooth line plot. Default: 1.
家超的的整数或vecto ROF整数deining显色指数应用到每一个细节/平滑线图。默认值:1。
show.sumA logical value. If TRUE, a plot of the sum of all details/smooth is also plotted. Default: TRUE.
show.sumA逻辑值。如果TRUE,图也绘制的所有细节/平滑的总和。默认值:TRUE。
addA logical value. If TRUE, the plot is added to the current plot layout without a frame ejection. Default: FALSE.
ADDA逻辑值。如果TRUE,该图在当前图上的布局没有一帧喷射。默认值:FALSE。
...Additional arguments to be sent to the plot routine.
其他参数发送的图常规。
printprint the wavelet transform details/smooth object. Usage: print(x)
printprint小波变换的细节/平滑对象。用途:打印(X)
reconstruct reconstruct/synthesize/invert the wavelet transform details/smooth. Usage: reconstruct(x)
重建重建小波变换的细节/平滑/合成/反转。用途:重建(X)
If the transform coefficients were not modified, the original time series will be returned (+/- some numerical noise).
如果没有被修改的变换系数,将原来的时间序列返回(+ / - 一些数值的噪声)。
summaryprovide a statistical summary of the wavelet transform details/smooth object. Usage: z <- summary(x); print(z)
summaryprovide的统计结果,小波变换的细节/平滑对象。用法:Z < - 摘要(X),打印(Z)
wavStackPlotstack plot of the wavelet transform details/smooth. Usage: wavStackPlot(x)
wavStackPlotstack图的小波变换细节/平滑。用途:wavStackPlot(X)
参考文献----------References----------
D. B. Percival and A. T. Walden, Wavelet Methods for Time Series Analysis, Cambridge University Press, 2000.
参见----------See Also----------
实例----------Examples----------
## calculate various wavelet transforms of the [#计算各种小波变换的]
## first difference of a linear chirp sequence [#线性调频序列的一阶差分]
x <- make.signal("linchirp", n=1024)
x.dwt <- wavDWT(x, n.levels = 3)
x.modwt <- wavMODWT(x, n.levels = 3)
## calculate the wavelet details for all crystals [#计算所有晶体的小波细节]
## of the DWT and MODWT [的DWT和MODWT的]
wavMRD(x.dwt)
wavMRD(x.modwt)
## plot the wavelet details for levels 1 and 3 of [级别1和3#图的小波细节]
## the MODWT [#MODWT]
plot(wavMRD(x.modwt, level = c(1,3)))
## plot the wavelet details for all levels of the [#图为各级小波细节]
## MODWT of a linear chirp. [#MODWT的线性啁啾。]
plot(wavMRD(x.modwt))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|