nullevels.wd(wavethresh)
nullevels.wd()所属R语言包:wavethresh
Sets whole resolution levels of coefficients equal to zero in a wd object.
设置全分辨率级别的系数等于零,在WD对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Sets whole resolution levels of coefficients equal to zero in a wd.object
在wd.object设置等于零的系数全分辨率级别
用法----------Usage----------
## S3 method for class 'wd':
nullevels(wd, levelstonull, ...)
参数----------Arguments----------
参数:wd
An object of class wd.
对象的类wd。
参数:levelstonull
An integer vector specifying which resolution levels of coefficients of wd that you wish to set to zero.
指定一个整数向量分辨率级别系数的wd,你想设置为零。
参数:...
any other arguments
任何其他参数
Details
详细信息----------Details----------
Setting whole resolution levels of coefficients to zero can be very useful. For examples, one can construct a linear smoothing method by setting all coefficients above a particular resolution (the primary resolution equal to zero. Also setting particular levels equal to zero can also be useful for removing noise which is specific to a particular resolution level (as long as important signal is not also contained at that level).
整个的分辨率级别的系数设置为零,可以是非常有用的。对于实施例中,一个可以构造一个线性平滑方法还设置特殊的等于零的水平,也可以是用于去除噪声,这是特定于一个特定的分辨率等级(如,通过设置特定的分辨率以上的所有系数(主分辨率等于零。作为重要的信号是不是也包含在这一水平)。
Note that this function removes the horiztonal, diagonal and vertical detail coefficients at the resolution level specified. It does not remove the father wavelet coefficients at those resolution levels.
请注意,此功能消除了horiztonal,斜向和垂直细节系数在指定的分辨率级别。它不会删除的父亲在这些分辨率级别的小波系数。
To remove individual coefficients on a systematic basis you probably want to look at the threshold function.
要删除单个系数有系统的基础,你可能想看看threshold功能。
值----------Value----------
An object of class wd where the coefficients in resolution levels specified by levelstonull have been set to zero.
类的一个对象wd其中指定的levelstonull分辨率级别中的系数被设为零。
RELEASE----------RELEASE----------
Version 3.8.1 Copyright Guy Nason 1997
版本3.8.1版权所有1997年盖利晨
(作者)----------Author(s)----------
G P Nason
参见----------See Also----------
nullevels, wd, wd.object, threshold.
nullevels,wd,wd.object,threshold。
实例----------Examples----------
#[]
# Generate some test data[生成一些测试数据。]
#[]
test.data <- example.1()$y
#[]
# Do wavelet transform of test.data and plot the wavelet coefficients[做小波变换的test.data和绘制的小波系数]
#[]
wds <- wd(test.data)
## Not run: plot(wds)[#未运行图(WDS)]
#[]
# Now let us set all the coefficients in ODD resolution levels equal to zero![现在,让我们将所有的系数等于零ODD分辨率级别!]
#[]
# This is just to illustrate the capabilities of the function. I cannot[这只是为了说明的功能的能力。我不能]
# imagine you wanting to do this in practice![想象一下,你在实践中要做到这一点!]
##[#]
wdsnl <- nullevels(wds, levelstonull = c(1, 3, 5, 7))
#[]
# Now let's plot the result[现在,让我们绘制的结果]
#[]
## Not run: plot(wdsnl, scaling = "by.level")[#不运行:的图(wdsnl,比例=“by.level”)]
#[]
# Lo and behold the odd levels have been set to zero![你瞧奇数水平被设置为0!]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|