01 January 1970 6 5K Report

Greetings, Every One. I am bit confused about usage of wavelet decomposition for noise removal. I am finding Peak to peak interval from a PPG signal. But when i use wavelet decomposition, my signal get shortened. This effect the Peak to Peak interval value. But when i denoise the signal simply by using butterworth low pass filter, every thing work well (as i think).

I have attached the screen shot and i am getting the PP interval as

24, 23, 15,25,25 according to attach image

Here is the code in python

sig_detrend=signal.detrend(sig)

wavelet_ppg = sig_detrend.values

wavelets = pywt.wavedec(sig_detrend,'db4', level=5)

fig, ax = plt.subplots(len(wavelets)+1)

ax[0].plot(sig_detrend)

for i, wavelet in enumerate(wavelets):

ax[i+1].plot(wavelet)

More Talha Anwar's questions See All
Similar questions and discussions