regrec2 {Rwave} | R Documentation |
Reconstruction from a Ridge
Description
Reconstructs signal from a “regularly sampled” ridge, in the wavelet case, from a precomputed kernel.
Usage
regrec2(siginput, cwtinput, phi, nbnodes, noct, nvoice, Q2,
epsilon=0.5, w0=2 * pi, plot=FALSE)
Arguments
siginput |
input signal. |
cwtinput |
wavelet transform, output of |
phi |
unsampled ridge. |
nbnodes |
number of samples on the ridge |
noct |
number of octaves (powers of 2) |
nvoice |
number of different scales per octave |
Q2 |
second term of the reconstruction kernel |
epsilon |
coefficient of the |
w0 |
central frequency of Morlet wavelet |
plot |
if set to TRUE, displays original and reconstructed signals |
Details
The computation of the kernel may be time consuming. This function avoids recomputing it if it was computed already.
Value
Returns a list containing:
sol |
reconstruction from a ridge. |
A |
<wavelets,dualwavelets> matrix. |
lam |
coefficients of dual wavelets in reconstructed signal. |
dualwave |
array containing the dual wavelets. |
morvelets |
array containing the wavelets on sampled ridge. |
solskel |
wavelet transform of sol, restricted to the ridge. |
inputskel |
wavelet transform of signal, restricted to the ridge. |
nbnodes |
number of nodes used for the reconstruction. |
References
See discussions in the text of “Practical Time-Frequency Analysis”.
See Also
regrec
, gregrec
, ridrec
,
sridrec
.