wavPacketBasis(wmtsa)
wavPacketBasis()所属R语言包:wmtsa
Extract wavelet packet basis from a DWPT
提取小波包从DWPT基础
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the DWPT crystals (in a list) corresponding to the basis specified by the indices vector. The indices are mapped as follows:
返回对应于所指定的索引向量的基础的DWPT晶体(在一个列表中)。该指数映射如下:
0original series
0original系列
1:2W(1,0), W(1,1), i.e., all level 1 crystals
1点02W(1,0), W(1,1),即,所有1级晶体
3:6W(2,0),...,W(2,3), i.e., all level 2 crystals
3:6W(2,0),...,W(2,3),即所有2级晶体
用法----------Usage----------
wavPacketBasis(x, indices=0)
参数----------Arguments----------
参数:x
an object of class wavTransform associated with the output of the wavDWPT function.
类的一个对象wavTransform与wavDWPT函数的输出。
参数:indices
an integer vector. Each integer denotes a particular crystal of the DWPT to extract. The set of crystals shoudl form a basis, i.e., the collective frequency ranges associated with the set of crystals should span normalized frequencies [0, 1/2]. The indices for each DWPT level and the corresponding (ideal) normalized frequency ranges are listed in the table below:
一个整数向量。每个整数表示一个特定的晶体中提取的DWPT。的设定资料的结晶shoudl形成基础,即,与晶体的组相关联的集体的频率范围应跨越归一化频率[0,1/2]。指数为每个DWPT级别和相应的(理想的)的归一化频率范围在下面的表中列出:
0Frequency range: [0, 1/2], associated with crystal W(0,0) (the original series).
0Frequency范围:[0,1/2],与水晶W(0,0)(原系列)。
1,2Frequency range: [0,1/4],[1/4, 1/2], associated with crystals W(1,0), W(1,1), respectively.
1,2频率范围:[0,1 / 4],[1/4,1/2],与晶体W(1,0), W(1,1),分别。
3,4,5,6Frequency range: [0,1/8],[1/8, 1/4],[1/4,3/8],[3/8, 1/2], associated with crystals W(2,0),W(2,1),W(2,2),W(2,3), respectively.
3,4,5,6频率范围:[0,1 / 8],[1/8,1/4],[1/4,3/8],[3/8,1/2],与晶体W(2,0),W(2,1),W(2,2),W(2,3)“。
and so forth.
等等。
参见----------See Also----------
实例----------Examples----------
## calculate a 3-level DWPT of the sunspots series [#计算3级DWPT,太阳黑子系列]
W <- wavDWPT(sunspots, n.level=3)
## extract the level 1 basis [#提取1级基础]
W12 <- wavPacketBasis(W, 1:2)
## obtain the names of the crystals that were [#得到的晶体的名称]
## extracted: "w1.0" "w1.1" [#提取:“”W1.1 W1.0“”]
names(W12$data)
## extract basis corresponding to crystal set: [#提取依据相应的晶体组:]
## "w2.0" "w2.1" "w1.1". This set comprises a [“w2.0”W2.1“W1.1”。该组包括一个]
## split-level basis [#错层基础]
Wsplit <- wavPacketBasis(W, c(3,4,2))
names(Wsplit$data)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|