Continuous Wavelet Transforms Part I (Discrete to Follow) Rubin H - - PowerPoint PPT Presentation

continuous wavelet transforms
SMART_READER_LITE
LIVE PREVIEW

Continuous Wavelet Transforms Part I (Discrete to Follow) Rubin H - - PowerPoint PPT Presentation

Continuous Wavelet Transforms Part I (Discrete to Follow) Rubin H Landau Sally Haerer, Producer-Director Based on A Survey of Computational Physics by Landau, Pez, & Bordeianu with Support from the National Science Foundation Course:


slide-1
SLIDE 1

Continuous Wavelet Transforms

Part I (Discrete to Follow) Rubin H Landau

Sally Haerer, Producer-Director

Based on A Survey of Computational Physics by Landau, Páez, & Bordeianu with Support from the National Science Foundation

Course: Computational Physics II

1 / 1

slide-2
SLIDE 2

Problem: Multiple Frequencies in Time

Non Stationary Signals

1 2 3 4 5 6 7 8 9

Time Amount ωi at each t? ∆ number of ω’s in t Numerical signal OK Here analytic:

y(t) =          sin 2πt, for 0 ≤ t ≤ 2, 5 sin 2πt + 10 sin 4πt, for 2 ≤ t ≤ 8, 2.5 sin 2πt + 6 sin 4πt + 10 sin 6πt, for 8 ≤ t ≤ 12.

2 / 1

slide-3
SLIDE 3

Why Not Fourier Analysis?

Fourier Limitation: amount of sin(nωt)

pgflastimage

OK for stationary signals Not OK for Problem Fourier: all ωi all time No time resolution Fourier: correlated ωi’s Poor data compression; recompute ci

3 / 1

slide-4
SLIDE 4

Wavelets in a Nutshell

Three Wavelet Examples

–1.0 0.0 1.0 –4

t

4 0.0 1.0 –4 4

t ψ

–1.0 –0.5 0.0 0.5 1.0 –6 –4 –2 2 4 6 t

Extend Fourier Nonstationary signals Fairly recent Extensive applications E.g.: all oscillate Varied functional forms Wavelet basis expansion "let": small wave (pack) Each: finite & ∆ T Each: center different t

4 / 1

slide-5
SLIDE 5

Wave Packets = Waves

Wave Packet e.g. N Cycle Sine

t

–4 4

y

10

Y ω

Packet ⇒ y(t) = pulse ∆t ⇒ Y(ω) = pulse ∆ω

y(t) =    sin ω0t, for |t| < N T

2 ,

0, for |t| > N T

2 ,

⇒ ∆t =NT = N 2π ω0 , ∆ω ≃ ω0 N

5 / 1

slide-6
SLIDE 6

Uncertainty Principle (Theory)

Fundamental Relation: ∆t ↔ ∆ω

t

–4 4

y

10

Y ω

N cycle example ⇒ general truth ∆ω ≃ first 0’s of Y(ω):

ω − ω0 ω0 = ± 1 N ⇒ ∆ω ≃ ω − ω0 = ω0 N N cycle ⇒ ∆t ≃ NT = N 2π ω0 ⇒ ∆t ∆ω ≥ 2π

QM: "Heisenberg Uncertainty Principle"

6 / 1

slide-7
SLIDE 7

Wave Packet Assessment (before break)

Example Given three wave packets: y1(t) = e−t2/2, y2(t) = sin(8t)e−t2/2, y3(t) = (1 − t2) e−t2/2 For each wave packet:

1

Estimate the width ∆t. A good measure might be the full width at half-maxima (FWHM) of |y(t)|.

2

Evaluate and plot the Fourier transform Y(ω).

3

Estimate the width ∆ω of the transform. A good measure might be the full width at half-maxima of |Y(ω)|.

4

Determine the constant C for the uncertainty principle ∆t ∆ω ≥ 2πC.

7 / 1

slide-8
SLIDE 8

Continuous Wavelet Transforms

Part II (Discrete to Follow) Rubin H Landau

Sally Haerer, Producer-Director

Based on A Survey of Computational Physics by Landau, Páez, & Bordeianu with Support from the National Science Foundation

Course: Computational Physics II

8 / 1

slide-9
SLIDE 9

Aside: Wavelet Precursor Sets Stage

Colored Boxes → Windows w(t)

1 2 3 4 5 6 7 8 9

Time Seen: sin nωt ∃ all t’s Overlap ⇒ correlated Dependent components ⇒ FT short time interval Boxes = windows =w(t) ⇒ Yτ1(ω), Yτ2(ω), . . . YτN (ω)

Y (ST)(ω, τ) = +∞

−∞

dt eiωt w(t − τ) y(t)

9 / 1

slide-10
SLIDE 10

The Wavelet Transform

Y(ω) : exp(iωt) → Y(s, τ) : ψs,τ(t)

–1.0 0.0 1.0 –4

t

4 0.0 1.0 –4 4

t ψ

–1.0 –0.5 0.0 0.5 1.0 –6 –4 –2 2 4 6 t

Y(s, τ) = +∞

−∞

dt ψ∗

s,τ(t) y(t)

(wavelet transform) ∼ Short-time FT Wavelet localized in t ⇒ Own window Oscillations ⇒ ∆ω Y = amt ψs,τ(t) in y(t) τ: time interval analyzed s = scale = 2π/ω t details ⇒ small s Small scale ⇒ high ω

10 / 1

slide-11
SLIDE 11

Generating Wavelet Basis Functions

Scale by s, Translate by τ: ψs,τ(t) =

1 √sΨ

t−τ

s

  • –1.0

–0.5 0.0 0.5 1.0 –6 –4 –2 2 4 6

s฀=฀1,฀τ฀=฀0

–6 –4 –2 2 4 6

t

–6 –4 –2 2 4 6

t s฀=฀2,฀τ฀=฀0

–1.0 0.0 1.0 –4 –2 2 4 6 8 10

t s฀=฀1,฀τ฀=฀6

Ψ = mother of ψ Fixed # oscills; vary T, 0 s <, > 1 → high, low ω Large s: smooth envelope Need fewer large s Small s: details Need for hi resolution

11 / 1

slide-12
SLIDE 12

Visualization: Transform of Chirp sin(60t2)

Y(s, τ) = 1 √s +∞

−∞

dt Ψ∗ t − τ s

  • y(t)

(Transform) y(t) = 1 C +∞

−∞

dτ +∞ ds s3/2 ψ∗

s,τ(t) Y(s, τ)

(Inverse)

Convolute low scale Cover all ⇒ High res Expand ⇒ Shape

12 / 1

slide-13
SLIDE 13

Solution to Problem

Recall Nonstationary Signal

1 2 3 4 5 6 7 8 9

Time

฀t

1 2

s

12 1

Y

4 8 12 –20 20 Input Inverted฀Transform

y(t)

13 / 1

slide-14
SLIDE 14

Required of Mother Wavelet Ψ

For Math to Work

1

Ψ(t) is real

2

Ψ(t) oscillates around 0 such that the average

+∞

−∞

Ψ(t) dt = 0

3

Ψ(t) is local (wave packet) & square integrable

+∞

−∞

|Ψ(t)|2 dt < ∞

4

The first p moments vanish (for details):

+∞

−∞

t0 Ψ(t) dt = +∞

−∞

t1 Ψ(t) dt = · · · = +∞

−∞

tp−1 Ψ(t) dt = 0

14 / 1

slide-15
SLIDE 15

Implementation: Visualizing Wavelet Transforms

Example

1

Convert your DFT program to a CWT one.

2

Examine different mother wavelets. Write methods for

1

a Morlet wavelet

2

a Mexican hat wavelet

3

a Haar wavelet

3

Test your transform on input:

1

y(t) = sin 2πt,

2

y(t) = 2.5 sin 2πt + 6 sin 4πt + 10 sin 6πt,

3

The nonstationary signal for our problem:

y(t) =        sin 2πt, for 0 ≤ t ≤ 2, 5 sin 2πt + 10 sin 4πt, for 2 ≤ t ≤ 8, 2.5 sin 2πt + 6 sin 4πt + 10 sin 6πt, for 8 ≤ t ≤ 12.

4

Invert your CWT & compare to input.

15 / 1