找回密码
 注册
查看: 426|回复: 0

R语言 wavethresh包 getpacket.wst()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 17:20:47 | 显示全部楼层 |阅读模式
getpacket.wst(wavethresh)
getpacket.wst()所属R语言包:wavethresh

                                        Get packet of coefficients from a packet ordered non-decimated wavelet object (wst).
                                         包一包系数下令非抽取小波对象(WST)。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function extracts and returns a packet of coefficients from a packet-ordered non-decimated wavelet object (wst) object. The wst objects are computed by the wst function amongst others.
此功能提取物和返回数据包的数据包排序,非抽取小波对象(wst)对象系数。 wst对象wst功能(其中包括)计算。


用法----------Usage----------


## S3 method for class 'wst':
getpacket(wst, level, index, type="D", aspect, ...)



参数----------Arguments----------

参数:wst
Packet-ordered non-decimated wavelet object from which you wish to extract the packet from.
分组有序非抽取小波对象,从中你要提取的数据包。


参数:level
The resolution level of the coefficients that you wish to extract.
分辨率级别的系数要提取。


参数:index
The index number within the resolution level of the packet of coefficients that you wish to extract.
该指数在分辨率级别的数据包要提取的系数。


参数:type
This argument must be either "C" or "D". If the argument is "C" then non-decimated father wavelet coefficients corresponding to the packet that you want are returned. If the argument is "D" then non-decimated mother wavelet coefficients are returned.
此参数必须是“C”或者“D”。如果参数是“C”然后非锐减父亲的小波系数相应的数据包,你要回来了。如果参数是“D”,那么非锐减的母亲小波系数返回。


参数:aspect
Function applied to the coefficients before return. This is suppled as a character string which gets converted to a function to apply. For example, "Mod" for complex-valued coefficients returns the absolute values.
功能返回前的系数。这是作为一个字符串被转换为一个函数来申请suppled。例如,“管理员”复数系数返回值的绝对值。


参数:...
Other arguments
其他参数


Details

详细信息----------Details----------

The wst function produces a packet-ordered non-decimated wavelet object: wst. The coefficients in this structure can be organised into a binary tree with each node in the tree containing a packet of coefficients.
wst函数生成的数据包排序的非抽取小波对象:wst。在树中,每个节点包含一个数据包的系数,在该结构中的系数可以被组织成一个二进制树。

Each packet is obtained by repeated application of the usual DG quadrature mirror filter with both even and odd dyadic decimation. See the detailed description given in Nason and Silverman, 1995.
每个数据包是通过以下方式获得的偶数和奇数的二进抽取重复应用通常的DG正交镜像滤波器。请参阅利晨和Silverman,1995中给出的详细描述。

This function enables whole packets of coefficients to be extracted at any resolution level. The index argument chooses a particular packet within each level and thus ranges from 0 to 2^{J-j} for j=0,..., J-1. Each packet corresponds to the wavelet coefficients with respect to different origins.
此功能使整个报文中提取系数,以在任何分辨率级别。指数参数每个级别内,选择一个特定的数据包,因此,范围从0到2^{J-j}对于j = 0,...,J-1。每个数据包对应的小波系数相对于不同的起源。

Note that both mother and father wavelet coefficient at different shifts are available by using the type argument.
需要注意的是母亲和父亲的小波系数在不同班次可使用的类型参数。


值----------Value----------

A vector containing the packet of packet-ordered non-decimated wavelet coefficients that you wished to extract.
一个向量,包含数据包的数据包排序,非抽取小波系数,你希望提取。


RELEASE----------RELEASE----------

Version 3.9 Copyright Guy Nason 1998
版本3.9版权所有1998年盖利晨


(作者)----------Author(s)----------


G P Nason



参见----------See Also----------

wst, wst.object,
wst,wst.object,


实例----------Examples----------


#[]
# Take the packet-ordered non-decimated transform of some random data [以分组排序的非锐减变换的一些随机数据]
#[]
MyWST <- wst(rnorm(1:512))
#[]
# The above data set was 2^9 in length. Therefore there are[上面的数据集是2 ^ 9的长度。因此有]
# coefficients at resolution levels 0, 1, 2, ..., and 8.[分辨率级别0,1,2,...,和8的系数。]
#[]
# The high resolution coefficients are at level 8.[高分辨率的系数是在8级。]
# There should be 256 coefficients at level 8 in index location 0 and 1.[应该有256个系数在8级索引位置0和1。]
#[]
length(getpacket(MyWST, level=8, index=0))
#[1] 256[[1] 256]
length(getpacket(MyWST, level=8, index=1))
#[1] 256[[1] 256]
#[]
# There are also 256 FATHER wavelet coefficients at each of these two indices[父亲也有256小波系数这两个指标]
# (origins)[(起源)]
#[]
length(getpacket(MyWST, level=8, index=0, type="C"))
#[1] 256[[1] 256]
length(getpacket(MyWST, level=8, index=1, type="C"))
#[1] 256[[1] 256]
#[]
# There should be 4 coefficients at resolution level 2[应该有4个系数的分辨率为2级]
#[]
getpacket(MyWST, level=2, index=0)
#[1] -0.92103095  0.70125471  0.07361174 -0.43467375[[1] -0.92103095 0.70125471 0.07361174 -0.43467375]
#[]
# Here are the equivalent father wavelet coefficients[下面是相当于父亲小波系数]
#[]
getpacket(MyWST, level=2, index=0, type="C")
#[1] -1.8233506 -0.2550734  1.9613138  1.2391913[[1] -1.8233506 -0.2550734 1.9613138 1.2391913]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-25 17:23 , Processed in 0.020072 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表