Learn R Programming

Rwave (version 1.2)

regrec2: 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 cwt.
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 $Q_2$ term in reconstruction kernel
w0
central frequency of Morlet wavelet
plot
if set to TRUE, displays original and reconstructed signals

Value

  • Returns a list containing:
  • solreconstruction from a ridge.
  • A matrix.
  • lamcoefficients of dual wavelets in reconstructed signal.
  • dualwavearray containing the dual wavelets.
  • morveletsarray containing the wavelets on sampled ridge.
  • solskelwavelet transform of sol, restricted to the ridge.
  • inputskelwavelet transform of signal, restricted to the ridge.
  • nbnodesnumber of nodes used for the reconstruction.

Details

The computation of the kernel may be time consuming. This function avoids recomputing it if it was computed already.

References

See discussions in the text of ``Practical Time-Frequency Analysis''.

See Also

regrec, gregrec, ridrec, sridrec.