Hi,
the question is fairly simple, but since I started yesterday to program in python, I don't have a simple answer ;)
The
"level" parameter in wavedec method controls the number of
decomposition steps to perform. The fact is that the wavelet transform
starts from the finer to the coarser resolution.
This is perfectly fine and correct when you want to encode/decode a signal.
But this is not what I want to achieve.
I
am comparing the fourier series description to the wavelet description
of a delta function. Easy (from the analytically point of view).
Now I
want to plot this thing and here comes pywt. The result I want to
achieve is more or less the one reported in the plot on figure 8 and 9
in "An Introduction to Wavelets", Lee A. Barford, R. Shane Fazzio, David
R. Smith
HPL-92-124So
I want to control the scale UP to with the transform is calculated, and
not DOWN. (A temporary -and maybe not really clever- solution is to
pass a signal with different length... from 2 samples ["low res"] up to
the resolution you want)
I don't know if this is enough clear, but Thanks for your attention
d