Signal Processing I 2020
Signal Processing I 2020
Signal Processing I 2020
1
Pathology of racism in medicine
Praxis
History
Theory
Science
Medicine
Dr. Edwin Lindo
UW, School of Medicine
2
Neural data
EEG Functional MRI
Extracellular
recording
ECoG
Ca Imaging
Intracellular
recording
3
Typical Brain-Computer Interface
Classification
or Regression
4
Signal Processing
EEG
(scalp)
ECoG
(brain surface)
Spikes + LFP
Picture courtesy of Wadsworth Center
5
Example: ECoG Signal
Slow oscillations
have disappeared
Faster fluctuations
are apparent
6
How can we quantify the various types of
oscillations and fluctuations in a signal?
7
Decomposing a signal into components:
Frequency domain analysis
Recorded
signal
+ Increasing
frequency
+
8
Decomposing a signal into components:
Frequency domain analysis
Signal as a Signal as a
function of function of
time frequency
12
Fourier Analysis
Joseph Fourier (1768-1830)
a0
s (t ) = + a1 cos(wt ) + a2 cos(2wt ) + ! + b1 sin(wt ) + b2 sin(2wt ) + !
2
a0 ¥ ¥
2𝜋
= + å an cos(nwt ) + å bn sin(nwt ) 𝜔=
2 n =1 n =1
𝑇
s(t) defined, nonzero over [−T/2, T/2]
a0
s(t ) = + a1 cos(wt ) + a2 cos(2wt ) + ! + b1 sin(wt ) + b2 sin(2wt ) + !
2
15
Discussion:
✦ Problems with Fourier analysis?
16
Problem with Fourier Analysis
✦ Continuous signal
17
Discrete Fourier Transform (DFT)
-.
,) / 0
✦ 𝑥 𝑛 = ∑) 𝑐) 𝑒
-.
1 5,) / 0
✦ 𝑐) = ∑ 𝑥[𝑛] 𝑒
2 0
18
ECoG Signal à Power Spectrum
20
Cursor Control using Imagined Speech
21
Examples of Fourier analysis
22
https://ocw.mit.edu
Brain waves
23
Change in Brain State
Normal Stroke
24
Problem with Fourier Analysis
✦ Sines and cosines occupy an
infinite temporal extent
✦ Fourier transform does a poor
job of representing finite and
non-periodic signals, and
signals with sharp peaks and
discontinuities
✦ Fourier transform is not
suitable for non-stationary
signal (e.g. brain signal)
25
Wavelets
✦ Represent a signal as
a linear combination
of finite basis
functions called
wavelets
✦ Each wavelet in the
linear combination is
a scaled and
translated copy of a
single mother wavelet
26
Mother Wavelets
27
Example: Wavelet Decomposition of EEG
Scaled down
and
translated
copies of a
single mother
wavelet
Sampling Frequency
y(t) yS(t)
t t
29
30
Sampling Frequency
Dt
yS(t)
30
Nyquist-Shannon Signal Sampling Theorem
31
http://195.134.76.37/applets/AppletNyquist/Appl_Nyquist2.html
Five minute break
32
Signal Processing
EEG
(scalp)
ECoG
(brain surface)
Spikes + LFP
Picture courtesy of Wadsworth Center
33
Spike Sorting
34
Quiroga et al. , 2004, Current Biology
Spike Sorting
Extracellular
recording
(multiunit hash)
Sorting by
Amplitude
35
http://www.scholarpedia.org/article/Spike_sorting
Spike Sorting
What if spikes have similar amplitude but different shape?
Sorting using
Window
Discriminators
Alternate method:
• Cluster spikes automatically based
on shape
• Each cluster = spikes from one
neuron.
36
http://www.scholarpedia.org/article/Spike_sorting
Spike Sorting
37
Nadian et al. , 2018, bioRxiv
Spike Sorting
38
Nadian et al. , 2018, bioRxiv
Spike Sorting
39
Einevoll et al. , 2012, Current Opinion in Neurobiology
What to do with spikes?
41
Can we use ECoG to record spikes?
42
Khodagholy et al., Nature Neuroscience, 2014
Can we use ECoG to record spikes?
43
Bouchard et al., Under review for eLife
Quiz: Which of the following statements is not
correct?
✦ A. The discrete Fourier transform converts a finite time
sequence to the frequency domain.
✦ B. In Wavelet transform, each wavelet in the linear
combination is a scaled and translated copy of a single
mother wavelet
✦ C. We can not record action potentials from the surface of
the brain
✦ D. Spike sorting can combine data recorded from multiple
electrodes to distinguish the activity of one or more neurons.
44
More signal processing
techniques next lecture!
45