I am trying to understand one simple thing in wavelets and I searched a lot, but did not get any idea.
I need to perform Multilevel 1-D wavelet decomposition on my signal. I have arrays
signal and time
( time[x] corresponds to the time at which signal[x] occurs ) . After I perform
I need to plot cA1 vs the time signal. But how do I know which time points should I select. If i change the 'wname' , I get different length cA1.
For example, for a signal of length 9285, when I do
[cA1,cD1]=pywt.wavedec(signal,db1, level=1,mode=pywt.MODES.zpd) length of cA1=4643 [cA1,cD1]=pywt.wavedec(signal,db2, level=1,mode=pywt.MODES.zpd) length of cA1 = 4644
How can we determine the variation of cA1 and how can we select the corresponding time. I use pywavelet