filter.select(filter.number, family="DaubExPhase", constant=1)
`extremal phase}' wavelets selected by
filter.numbers ranging from 2 to 10) as proposed in Daubechies (1988).
Setting family to DaubLeAsymm gives you Daubechies least asymmetric
wavelets also from Daubechies (1988), but here the filter number ranges
from 4 to 10.For Daubechies wavelets, code{filter.number} corresponds to the
N of that paper, the wavelets become more regular as the filter.number
increases, but they are all of compact support.
This function is currently used by code{wr} and code{wd}
in decomposing and reconstructing, however you may wish to look at the
coefficients.
}
section{NOTE}{
The filter coefficients should always sum to
eqn{sqrt{2}{sqrt(2)}. This is a useful check on their validity.
}
seealso{
code{wd}, code{wr}, for background information;
code{accessC}, code{accessD},
code{imwd}, code{imwr}, code{threshold}.
}
examples{
## look at the filter coefficients for N=2 :
str(f2 <- filter.select(2))
##- List of 4
##- $ H : num [1:4] 0.483 0.837 0.224 -0.129
##- $ name : chr "Daub cmpct on ext. phase N=2"
##- $ family : chr "DaubExPhase"
##- $ filter.number: num 2
all.equal(sum(f2 $H), sqrt(2))# TRUE
}
keyword{math}
keyword{smooth}
% Converted by Sd2Rd version 0.3-3.