wavelet transformation emrah duzel institute of cognitive neuroscience ucl

21
Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Upload: lester-rich

Post on 16-Jan-2016

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Wavelet transformation

Emrah Duzel

Institute of Cognitive Neuroscience

UCL

Page 2: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Why analyse neural oscillations?

• Temporal code of information processing (versus rate code)

• Functional coupling

• Interareal synchrony

• Local field potentials and their correlation with fMRI

• Functional specificity of oscillations

Page 3: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Large scale neural dynamics of higher cognitive processes: At least three types of stimulus-responses

• Evoked response:Evoked response: the addition of response amplitude to the ongoing brain activity in a time-locked manner.Schah et al., 2004, Cereb Cortex

•  Phase resetting response:Phase resetting response: the resetting of ongoing oscillatory brain activity without concomitant changes in response amplitude.Penny, Kiebel, Kilner, Rugg, 2002, Trends in Cog Sci. / Makeig et al., 2002, Science

• Induced response:Induced response: the addition of response amplitude that is not time-locked to stimulus onset.Tallon-Baudry and Bertrand, 1998, Trends in Cog Sci.

Makeig et al., 2004

Page 4: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

8 trials Phase-resetting of a 10 Hz oscillation

Phase resetting

ERP power

10

Measure of phase alignment

Penny, Kiebel, Kilner, Rugg, 2002, Trends in Cog Sci. / Makeig et al., 2002, Science / Klimesh et al., 2001, Cog Brain Res. / Burgess and Gruzelier, 2000, Psychophys.

Page 5: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Single subject analyses of M400 old/new effectsClear evidence of evoked responses in some subjects

Page 6: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Overview

• Basics of digital signal processing– Sampling theory

• Fourier Transforms– Discrete Fourier Transforms

• Wavelet Analysis

• Applications and online demonstrations

Page 7: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Digital signal processing

• Decompose a signal into simple additive components

• Process these components in a useful manner

• Synthesize them into a final result

Page 8: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Sampling theory• Nyquist theorem• Sample rate• Nyquist frequency• Aliasing

• With each signal there are 4 critical parameters:– Highest frequency in the signal (determined by low-pass filter) – Twice this frequency– Sampling rate– SR / 2 (nyquist frequency/rate)

Page 9: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Sampling theoryNyquist theoremNyquist theorem: a signal can be properly sampeld only if it does not contain

frequencies above ½ sampling frequency

• AliasingAliasing: if a signal contains frequencies above the Nyquist frequency.

– Loss of information

– Introduces wrong information (waves take on different ‚identities‘

– Loss of phase information (phase shift)

Page 10: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Single-epoch wavelet transforms

x Spectral analysis

Wavelet

averaging

Page 11: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

+Phase

ERP

Wavelettransformation

Page 12: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Different morlet wavelets

Better time resolution

Good compromise

Better freq. resolution

Page 13: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Time-frequency resolution of a standard Morlet-wavelet

Page 14: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Time-frequency resolution of a standard Morlet-wavelet

Page 15: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Time-frequency resolution of a standard Morlet-wavelet

Page 16: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

convolution

Page 17: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Matlab demo

• Create an artificial signal composed of several frequencies of varying time/amplitude modulation

– continuous delta [2Hz]– continuous alpha [10 Hz]– continuous beta [20Hz]– theta-burst [5Hz, +200 ms] – gamma_burst [40 Hz, -200] – gamma_burst [67 Hz, -100] – gamma_burst [67 Hz, +200]

• Create a wavelet• Convolve wavelets and signal

– highlight the issue of amplitude normalization– highlight limits of time/frequency resolution

• Plot a time/frequency spectrogramm• Illustrate phase resetting

-500 +500

67hz

40hz

theta

beta

alpha

delta

Page 18: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Matlab demo

• Create an artificial signal composed of a linear combination of several sinusoids with different frequencies and time/amplitude modulations

whereω is the angular frequency or angular speed (measured in radians per second), T is the period (measured in seconds), f is the frequency (measured in hertz)

e.g. if T = 50 ms = 0.05 sec then f = 1/0.05 = 20 Hz

angular frequency

delta=sin(2*pi*1/500*(t))t=-500:500

A*sin(2 pi ω t)

Page 19: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Matlab demo

• Create a wavelet

wavelet_beta=sin(2*pi*t/50).*exp(-(t/50/strecth).^2)

Page 20: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Complex numbers

Euler’s formula

trigonometric form

exponential form

r

In a Cartesian coordinate systemeach point z is determined by two axes

In polar notation

each point z is determined by an angle φ and a distance r

central pointis ‘pole’

r is called the absolute value or modulus of z

Page 21: Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL

Frequency resolution

Time resolution