Questions tagged [wavelet]

The name given to windows used to analyse/synthesize a signal with wavelet transforms. Used mostly in the analysis of non-stationary signals whose frequency content varies with time. The variable length windows with which the signals are analysed are called wavelets.

Most signals in nature are non-stationary, i.e, they have a time-varying frequency content. This sort of signal is largely useless to an analysis with FFT because of the nature of its frequency content.

An FFT gives 100% resolution in the frequency domain (i.e, you know what frequencies the signal is made of), but 0% resolution in the time domain (you have no information on when that frequency component occurred). STFT (Short Time Fourier Transform) seeks to provide resolution in time and frequency domains simultaneously by analysing the signal in fixed length windows. This provides equal resolutions in both domains, not the best of solutions.

Wavelet transforms analyse the signal with different length windows (wavelets with different resolutions) which gives a multi-dimensional representation of the signal. There are many different wavelet base functions, but the more popular ones are Daubechies and Haar.

393 questions
3
votes
0 answers

Applying Haar Wavelet transform to time series data

I am trying to apply a Haar wavelet transform to stock market data for noise reduction, before feeding the data to a RNN (LSTM). As this data is in 1D, I'm using a single level DWT as follows: import pywt x = [3, 7, 1, 1, -2, 5, 4, 6,…
Adeel Hashmi
  • 767
  • 1
  • 8
  • 20
3
votes
1 answer

CDF 9/7 Discrete Wavelet Transform (Convolution)

I'm trying to write a simple self-contained program that does a single level of a discrete wavelet transform on a 1D list, using the CDF 9/7 wavelets, and then reconstructs it. I'm just using the convolution/filter-bank method to get a grasp on how…
Andrew
  • 383
  • 2
  • 17
3
votes
0 answers

2D Gabor Wavelet transform of an Image in Python/Opencv

I am trying to implement vessel extraction from Retinal fundus image from the paper Multilayered thresholding-based blood vessel segmentationfor screening of diabetic retinopathy: M. Usman Akram • Shoab A. Khan It requires me to determine 2D Gabor…
Sagar B Hathwar
  • 536
  • 6
  • 18
3
votes
0 answers

How do I normalize the signal generated from wfbm in matlab?

I am using matlab's wavelet fractional Brownian motion function in order to generate 1D point-like data of a diffusive particle in the physical regimes: sub-diffusion, super-diffusion and normal diffusion. The problem I encounter with is that the…
0x90
  • 39,472
  • 36
  • 165
  • 245
3
votes
3 answers

pywavelet signal reconstruction

I am trying to understand the concept of wavelets using the pywavelet library. My first step was to see how I could reconstruct a given input signal using the wavelet coefficients. Please see my code below: db1 = pywt.Wavelet('db1') cA6, cD6,cD5,…
user1274878
  • 1,275
  • 4
  • 25
  • 56
3
votes
1 answer

Python package for maximal overlap discrete wavelet transform(MODWT)

I have to use python to reproduce results from a paper where MODWT is used. I'm currently using pywt and it only has stationary wavelet transform(SWT). I research a little bit and it seems there is currently no package for MODWT and I also find that…
TheStupidOne
  • 335
  • 2
  • 5
  • 14
3
votes
1 answer

How to deconvolve a step function from a time-series signal

I want to remove a step (jump, Heaviside) function from a time series data, as shown in the picture. Could anyone give some hints (or references) on how to do this? The link to the image is : Multichannel signal convolved with heaviside…
liubenyuan
  • 733
  • 1
  • 5
  • 10
3
votes
1 answer

2D wavelet transform and multifractals

I'm working on a Matlab project which uses 2D wavelet transform. I am working on a Wavelet Transformation Modulus Maxima method (WTMM). I work with the Matlab wavelet toolbox. I have some questions about wavelets and WTMM method : - I use the 2D…
Whatzat
  • 81
  • 6
3
votes
2 answers

Generating a scalogram of a signal

I'm trying to build a scalogram view for my app to see whether there is relevant information we can retrieve from a wavelet transform as opposed to using a spectograms to see what can be retrieved via an FFT. So far I can take a wave form and I can…
Goz
  • 61,365
  • 24
  • 124
  • 204
3
votes
1 answer

Data length is not power of two / Sample size is not divisible by 2^J (wavelet analysis)

I have multiple time-series of length 149 and I would like to denoise them by using wavelet transformations. This is an example of my data: t=ts(rnorm(149,5000,1000),start=1065,end=1213) When I try using the packages wavetresh and waveslim, they…
Wave
  • 1,216
  • 1
  • 9
  • 22
3
votes
1 answer

Wavelet Neural Networks : why no Inverse Transform?

i'm wondering why in a Wavelet Neural Network, there is no Inverse Transform that recompose the signal? How come only the wavelet coefficients are enough to find the wanted signal? Wouldn't it be better to have the IWT? Jeff
IonOne
  • 385
  • 4
  • 15
3
votes
1 answer

Is this wavelet transform implementation correct?

I am searching for alternatives to the FFT to create a spectrogram analyser in python. I heard that the wavelet transform is faster and provides better time accuracy than the short time FFT. I went in this wikipedia article that features the Haar…
user2464424
  • 1,536
  • 1
  • 14
  • 28
3
votes
1 answer

How to compute Inverse Stationary Wavelet Transform of an Image?

I understand the forward Stationary Wavelet Transform and how it is implemented on the diagonal, vertical and horizontal components. In fact, I have it implemented. What I don't understand is what exactly is the algorithm to compute Inverse…
user1343318
  • 2,093
  • 6
  • 32
  • 59
3
votes
2 answers

On using the biwavelet package in R

Could anyone suggest why the following example code does not work: require(biwavelet) t <- seq(1/24, 365, 1/24) A <- 2 fs <- 1/24 y <- A + sin(2*pi*fs*t) d = cbind(t,y) wt.t1 <- wt(d) plot(wt.t1) It generates an error stating: Error in…
KatyB
  • 3,920
  • 7
  • 42
  • 72
3
votes
2 answers

Applying MATLAB's idwt2 several times

I am using MATLAB to apply the Discrete Wavelet Transform on an image. I am applying it several times (3) in order to get a 3 level transform. I am using the dwt2 function provided by MATLAB in order to compress and idwt2 to make the decompression.…
hyperboreean
  • 8,273
  • 12
  • 61
  • 97
1 2
3
26 27