Is there a solid method for wavelet analysis in Python?
Asked Answered
J

1

15

all. So, I have some time series data that I'd like to process with a wavelet transform to represent thusly. I am relatively new to the concept of wavelets. I noticed scipy.signal has a few objects, but it seems thin. Is there a library or something out there that will aid in this? Any documentation or tutorials you know of will be greatly appreciated.

Jurat answered 24/10, 2013 at 20:37 Comment(0)
N
18

Have you tried PyWavelets?

import pywt
x = [3, 7, 1, 1, -2, 5, 4, 6]
# Discrete Wavelet Transform
cA, cD = pywt.dwt(x, 'db2')
x2 = pywt.idwt(cA, cD, 'db2')

There are a few examples in their documentation.

The GitHub repository has more updated information to check out as well.

Neglect answered 24/10, 2013 at 20:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.