Lecture 19 The Wavelet Transform Motivation Some signals

  • Slides: 33
Download presentation
Lecture 19 The Wavelet Transform

Lecture 19 The Wavelet Transform

Motivation Some signals obviously have spectral characteristics that vary with time

Motivation Some signals obviously have spectral characteristics that vary with time

Criticism of Fourier Spectrum It’s giving you the spectrum of the ‘whole time-series’ Which

Criticism of Fourier Spectrum It’s giving you the spectrum of the ‘whole time-series’ Which is OK if the time-series is stationary But what if its not? We need a technique that can “march along” a timeseries and that is capable of: Analyzing spectral content in different places Detecting sharp changes in spectral character

Fourier Analysis is based on an indefinitely long cosine wave of a specific frequency

Fourier Analysis is based on an indefinitely long cosine wave of a specific frequency time, t Wavelet Analysis is based on an short duration wavelet of a specific center frequency time, t

Wavelet Transform Inverse Wavelet Transform All wavelet derived from mother wavelet

Wavelet Transform Inverse Wavelet Transform All wavelet derived from mother wavelet

Inverse Wavelet Transform time-series wavelet with scale, s and time, t coefficients of wavelets

Inverse Wavelet Transform time-series wavelet with scale, s and time, t coefficients of wavelets build up a time-series as sum of wavelets of different scales, s, and positions, t

Wavelet Transform time-series coefficient of wavelet with scale, s and time, t I’m going

Wavelet Transform time-series coefficient of wavelet with scale, s and time, t I’m going to ignore the complex conjugate from now on, assuming that we’re using real wavelets complex conjugate of wavelet with scale, s and time, t

Wavelet normalization wavelet with scale, s and time, t shift in time change in

Wavelet normalization wavelet with scale, s and time, t shift in time change in scale: big s means long wavelength Mother wavelet

Shannon Wavelet Y(t) = 2 sinc(2 t) – sinc(t) mother wavelet t=5, s=2 time

Shannon Wavelet Y(t) = 2 sinc(2 t) – sinc(t) mother wavelet t=5, s=2 time

Fourier spectrum of Shannon Wavelet frequency, w w Spectrum of higher scale wavelets

Fourier spectrum of Shannon Wavelet frequency, w w Spectrum of higher scale wavelets

Thus determining the wavelet coefficients at a fixed scale, s can be thought of

Thus determining the wavelet coefficients at a fixed scale, s can be thought of as a filtering operation g(s, t) = f(t) Y[(t-t)/s] dt = f(t) * Y(-t/s) where the filter Y(-t/s) is has a band-limited spectrum, so the filtering operation is a bandpass filter

not any function, Y(t) will work as a wavelet admissibility condition: Implies that Y(w)

not any function, Y(t) will work as a wavelet admissibility condition: Implies that Y(w) 0 both as w 0 and w , so Y(w) must be bandlimited

a desirable property is g(s, t) 0 as s 0 p-th moment of Y(t)

a desirable property is g(s, t) 0 as s 0 p-th moment of Y(t) Suppose the first n moments are zero (called the approximation order of the wavelet), then it can be shown that g(s, t) sn+2. So some effort has been put into finding wavelets with high approximation order.

Discrete wavelets: choice of scale and sampling in time sj=2 j Scale changes by

Discrete wavelets: choice of scale and sampling in time sj=2 j Scale changes by factors of 2 and tj, k = 2 jk. Dt Sampling widens by factor of 2 for each successive scale Then g(sj, tj, k) = gjk where j = 1, 2, … k = - … -2, -1, 0, 1, 2, …

dyadic grid

dyadic grid

The factor of two scaling means that the spectra of the wavelets divide up

The factor of two scaling means that the spectra of the wavelets divide up the frequency scale into octaves (frequency doubling intervals) w 1/ 8 wny ¼wny ½wny

As we showed previously, the coefficients of Y 1 is just the band-passes filtered

As we showed previously, the coefficients of Y 1 is just the band-passes filtered time-series, where Y 1 is the wavelet, now viewed as a bandpass filter. This suggests a recursion. Replace: w 1/ 8 wny ¼wny ½wny with w low-pass filter ½wny

And then repeat the processes, recursively …

And then repeat the processes, recursively …

Chosing the low-pass filter It turns out that its easy to pick the low-pass

Chosing the low-pass filter It turns out that its easy to pick the low-pass filter, flp(w). It must match wavelet filter, Y(w). A reasonable requirement is: |flp(w)|2 + |Y(w)|2 = 1 That is, the spectra of the two filters add up to unity. A pair of such filters are called Quadature Mirror Filters. They are known to have filter coefficients that satisfy the relationship: YN-1 -k = (-1)k flpk Furthermore, it’s known that these filters allows perfect reconstruction of a time-series by summing its low-pass and highpass versions

To implement the ever-widening time sampling tj, k = 2 jk. Dt we merely

To implement the ever-widening time sampling tj, k = 2 jk. Dt we merely subsample the time-series by a factor of two after each filtering operation

time-series of length N HP LP 2 2 g(s 1, t) HP g(s 1,

time-series of length N HP LP 2 2 g(s 1, t) HP g(s 1, t): N/2 coefficients LP 2 g(s 2, t) Recursion for wavelet coefficients g(s 2, t): N/4 coefficients 2 g(s 2, t): N/8 coefficients HP LP 2 2 g(s 3, t) … Total: N coefficients

Coiflet low pass filter Coiflet high-pass filter time, t From http: //en. wikipedia. org/wiki/Coiflet

Coiflet low pass filter Coiflet high-pass filter time, t From http: //en. wikipedia. org/wiki/Coiflet

Spectrum of low pass filter Spectrum of wavelet frequency, w

Spectrum of low pass filter Spectrum of wavelet frequency, w

time-series stage 1 - hi stage 1 - lo

time-series stage 1 - hi stage 1 - lo

Stage 1 lo stage 2 - hi stage 2 - lo

Stage 1 lo stage 2 - hi stage 2 - lo

Stage 2 lo stage 3 - hi stage 3 - lo

Stage 2 lo stage 3 - hi stage 3 - lo

Stage 3 lo stage 4 - hi stage 4 - lo

Stage 3 lo stage 4 - hi stage 4 - lo

Stage 4 lo stage 5 - hi stage 6 - lo

Stage 4 lo stage 5 - hi stage 6 - lo

Stage 4 lo stage 5 - hi stage 6 - lo Had enough?

Stage 4 lo stage 5 - hi stage 6 - lo Had enough?

Putting it all together … scale short wavelengths |g(sj, t)|2 long wavelengths time, t

Putting it all together … scale short wavelengths |g(sj, t)|2 long wavelengths time, t

LGA Temperature time-series stage 1 - hi stage 1 - lo

LGA Temperature time-series stage 1 - hi stage 1 - lo

scale short wavelengths long wavelengths time, t

scale short wavelengths long wavelengths time, t