\HeaderA{putC.wst}{Puts a whole resolution level of father wavelet coeffients into wst wavelet object.}{putC.wst}
\keyword{manip}{putC.wst}
\begin{Description}\relax
Makes a copy of the \code{\LinkA{wst}{wst}} object, replaces a whole resolution level of father wavelet coefficients data in the copy, and then returns the copy.
\end{Description}
\begin{Usage}
\begin{verbatim}
putC.wst(wst, level, value, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{wst}] Packet-ordered non-decimated wavelet object into which you wish to insert the father wavelet coefficients.
\item[\code{level}] the resolution level at which you wish to replace the father wavelet coefficients.
\item[\code{value}] the replacement data, this should be of the correct length.
\item[\code{...}] any other arguments
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The function \code{\LinkA{accessC.wst}{accessC.wst}} obtains the father wavelet coefficients for a particular level. The function \code{putC.wst} replaces father wavelet coefficients at a particular resolution level and returns a modified wst object reflecting the change. 

For the non-decimated wavelet transforms the number of coefficients at each resolution level is the same and equal to \code{2\textasciicircum{}nlevels} where \code{nlevels} is the number of levels in the \code{\LinkA{wst object}{wst object}}. The number of coefficients at each resolution level is also, of course, the number of data points used to initially form the \code{\LinkA{wst}{wst}} object in the first place. 

Use the \code{\LinkA{accessC.wst}{accessC.wst}} to extract whole resolution levels of father wavelet coefficients. Use \code{\LinkA{accessD.wst}{accessD.wst}} and \code{\LinkA{putD.wst}{putD.wst}} to extract/insert whole resolution levels of mother wavelet coefficients. Use the \code{\LinkA{getpacket.wst}{getpacket.wst}} and \code{\LinkA{putpacket.wst}{putpacket.wst}} functions to extract/insert packets of coefficients into a packet-ordered non-decimated wavelet object.
\end{Details}
\begin{Value}
A \code{\LinkA{wst}{wst}} class object containing the modified father wavelet coefficients
\end{Value}
\begin{Section}{RELEASE}
Version 3.5.3 Copyright Guy Nason 1994
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{wst.object}{wst.object}}, \code{\LinkA{wst}{wst}}, \code{\LinkA{putC}{putC}}, \code{\LinkA{accessD.wst}{accessD.wst}}, \code{\LinkA{putD.wst}{putD.wst}}, \code{\LinkA{getpacket.wst}{getpacket.wst}}, \code{\LinkA{putpacket.wst}{putpacket.wst}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
#
# Generate an EMPTY wst object:
#
#zero <- rep(0, 16)
#zerowst <- wst(zero)
#
# Put some random father wavelet coefficients into the object at
# resolution level 2. For the non-decimated wavelet transform there
# are always 16 coefficients at every resolution level. 
#
#mod.zerowst <- putC( zerowst, level=2, v=rnorm(16))
#
# If you use accessC  on mod.zerowd you would see that there were only
# coefficients at resolution level 2 where you just put the coefficients.
\end{ExampleCode}
\end{Examples}

