5. Spectrograms and non-stationary signals

Slides:



Advertisements
Similar presentations
An Introduction to Fourier and Wavelet Analysis: Part I Norman C. Corbett Sunday, June 1, 2014.
Advertisements

All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
FilteringComputational Geophysics and Data Analysis 1 Filtering Geophysical Data: Be careful!  Filtering: basic concepts  Seismogram examples, high-low-bandpass.
Physics 1251 The Science and Technology of Musical Sound Unit 1 Session 8 Harmonic Series Unit 1 Session 8 Harmonic Series.
Spike Trains Kenneth D. Harris 3/2/2015. You have recorded one neuron How do you analyse the data? Different types of experiment: Controlled presentation.
LFPs 1: Spectral analysis Kenneth D. Harris 11/2/15.
Local Field Potentials, Spikes and Modeling Strategies for Both Robert Haslinger Dept. of Brain and Cog. Sciences: MIT Martinos Center for Biomedical Imaging:
Nonstationary Signal Processing Hilbert-Huang Transform Joseph DePasquale 22 Mar 07.
Edge Detection CSE P 576 Larry Zitnick
An Introduction to S-Transform for Time-Frequency Analysis S.K. Steve Chang SKC-2009.
1 Speech Parametrisation Compact encoding of information in speech Accentuates important info –Attempts to eliminate irrelevant information Accentuates.
Spectral analysis Kenneth D. Harris 18/2/15. Continuous processes A continuous process defines a probability distribution over the space of possible signals.
Time and Frequency Representations Accompanying presentation Kenan Gençol presented in the course Signal Transformations instructed by Prof.Dr. Ömer Nezih.
Time-Frequency and Time-Scale Analysis of Doppler Ultrasound Signals
Short Time Fourier Transform (STFT)
Total Variation Imaging followed by spectral decomposition using continuous wavelet transform Partha Routh 1 and Satish Sinha 2, 1 Boise State University,
Data smoothing Raymond Cuijpers. Index The moving average Convolution The difference operator Fourier transforms Gaussian smoothing Butterworth filters.
Circular statistics Maximum likelihood Local likelihood Kenneth D. Harris 4/3/2015.
Warped Linear Prediction Concept: Warp the spectrum to emulate human perception; then perform linear prediction on the result Approaches to warp the spectrum:
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Spectra of random processes Signal, noise, smoothing and filters.
Introduction to Spectral Estimation
Wavelet transformation Emrah Duzel Institute of Cognitive Neuroscience UCL.
Kent Bertilsson Muhammad Amir Yousaf. DC and AC Circuit analysis  Circuit analysis is the process of finding the voltages across, and the currents through,
Being Comoplex is Simpler: Event Related Dynamics Pedro Valdes-Sosa Eduardo Martínez-Montes Cuban Neurosciences Centre Wael El-Deredy School of Psychological.
Functional Brain Signal Processing: Current Trends and Future Directions Kaushik Majumdar Indian Statistical Institute Bangalore Center
Details, details… Intro to Discrete Wavelet Transform The Story of Wavelets Theory and Engineering Applications.
The Story of Wavelets.
WAVELET TRANSFORM.
Fourier theory We know a lot about waves at a single  : n( , v p ( , R(  absorption(  … Analyze arbitrary in terms of these, because Fourier.
Signals CY2G2/SE2A2 Information Theory and Signals Aims: To discuss further concepts in information theory and to introduce signal theory. Outcomes:
Functional Brain Signal Processing: EEG & fMRI Lesson 4
1 Spectral filtering for CW searches S. D’Antonio *, S. Frasca %&, C. Palomba & * INFN Roma2 % Universita’ di Roma “La Sapienza” & INFN Roma Abstract:
Spectral analysis of multiple timeseries Kenneth D. Harris 18/2/15.
Systems (filters) Non-periodic signal has continuous spectrum Sampling in one domain implies periodicity in another domain time frequency Periodic sampled.
CCN COMPLEX COMPUTING NETWORKS1 This research has been supported in part by European Commission FP6 IYTE-Wireless Project (Contract No: )
Functional Brain Signal Processing: EEG & fMRI Lesson 14
GG313 Lecture 24 11/17/05 Power Spectrum, Phase Spectrum, and Aliasing.
Multiscale Geometric Signal Processing in High Dimensions
ELEC 303 – Random Signals Lecture 19 – Random processes Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 12, 2009.
Stochastic Process Theory and Spectral Estimation
The Story of Wavelets Theory and Engineering Applications
Signal acquisition A/D conversion Sampling rate  Nyquist-Shannon sampling theorem: If bandlimited signal x(f) holds in [-B;B], then if f s = 1 / T.
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Computer Architecture and Networks Lab. 컴퓨터 구조 및 네트워크 연구실 EEG Oscillations and Wavelet Analysis 이 윤 섭이 윤 섭.
Physiological and harmonic components in neural and muscular coherence in Parkinsonian tremor Shouyan Wang, Tipu Z. Aziz, John F. Stein, Peter G. Bain,
CLASSIFICATION OF ECG SIGNAL USING WAVELET ANALYSIS
Date of download: 6/28/2016 Copyright © 2016 American Medical Association. All rights reserved. From: Teamwork Matters: Coordinated Neuronal Activity in.
Short Time Fourier Transform (STFT) CS474/674 – Prof. Bebis.
k is the frequency index
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Modulation of hippocampal activity with fornix Deep Brain Stimulation
Continuous-Time Signal Analysis
Advanced applications of the GLM: Cross-frequency coupling
Filtering Geophysical Data: Be careful!
Advanced applications of the GLM: Cross-frequency coupling
Homework 1 (Due: 11th Oct.) (1) Which of the following applications are the proper applications of the short -time Fourier transform? Also illustrate.
CSCE 643 Computer Vision: Thinking in Frequency
Gary Margrave and Michael Lamoureux
k is the frequency index
Dynamic Causal Modelling for M/EEG
Volume 93, Issue 2, Pages (January 2017)
Chapter 15: Wavelets (i) Fourier spectrum provides all the frequencies
Volume 83, Issue 4, Pages (August 2014)
Gamma oscillations are modulated by theta phase in the rat hippocampus
Identification of phasic activity bursts in the dentate gyrus.
Advanced applications of the GLM: Cross-frequency coupling
Respiration entrains higher-frequency oscillations in PC, amygdala, and hippocampus. Respiration entrains higher-frequency oscillations in PC, amygdala,
Removal of the PNNs affect LFP oscillations during spontaneous activity, but not during stimulus-evoked activity. Removal of the PNNs affect LFP oscillations.
Presentation transcript:

5. Spectrograms and non-stationary signals Kenneth D. Harris 25/2/15

Welch method in practice In MATLAB: [p, fo] = pwelch(x,window,noverlap,nfft, fs) Higher values -> more frequency resolution but more noisy. Fit as largest value with reasonable amount of noise. Rule of thumb: to get n Hz resolution, take fs/n. Can be as large as you like Higher => evaluated at more frequencies, but stays as smooth / noisy as before

Welch examples

Multitaper method in practice In MATLAB: [p, fo] = pxx = pmtm(x,nw,nfft,fs) Higher values -> less frequency resolution, but less noisy. Fit as smallest value with reasonable amount of noise. 3 often a good first choice. Can be as large as you like Higher => evaluated at more frequencies, but stays as smooth / noisy as before

Multitaper examples

Nonstationary signals Recall stationary signal is one you can shift in time and it would have been just as likely as the original A process can only be nonstationary if there are multiple instances relative to defined moments in time (e.g. stimulus onset).

The spectrogram Frequency Time Series of power spectra of a series of short signal snippets Frequency Time

Average spectrogram of LFP S1, urethane, ChR2 in cholinergic fibers Kalmbach & Waters, J Neurophys 2014

Practical issues All the problems of power spectra get harder since the signals are so short. Can average over multiple presentations. Can use multitaper method. Trade off between time resolution and frequency resolution.

“Time-bandwidth product” Frequency Frequency Time Time

Wavelets slice time/frequency space differently Frequency bins on a log scale (e.g. octaves) More time resolution for higher frequencies

Wavelet LFP analysis F Ferando & Mody, Front Neural Circuits 2013

Evoked and induced oscillations Evoked potential -> exactly the same on every trial. Mean waveform can have power in lots of frequencies Induced oscillation -> different phase of different trials Always has power at that frequency Cancels out in average Gaussian process: 𝐱~𝑁 𝛍, 𝚺 Evoked Induced

Evoked and Induced oscillations

What can you compute from a spectrogram?

“Comodugram” Correlation of instantaneous power in different frequencies Won’t happen for a stationary Gaussian process Mouse hippocampus Buzsaki et al Neuroscience 2003

Phase-amplitude coupling Gamma power highest on peak of theta oscillation

Hilbert transform A way to compute instantaneous phase and amplitude of a signal Remember 𝑥 𝑡 = 𝑓 𝑥 𝑓 𝑒 2𝜋𝑖𝑓𝑡 𝑥 𝑡 is real because 𝑥 𝐹 𝑠 −𝑓 = 𝑥 𝑓 ∗ Hilbert transform sets 𝑥 𝑓 =0 for 𝑓> 𝐹 𝑠 /2. Produces complex signal, imaginary part 90 degrees delayed.

Hilbert example

Phase is angle, amplitude is magnitude

Be careful with Hilbert transform When it doesn’t work you get junk. Check by plotting You often need to filter very narrowband

Relating amplitude of one frequency to phase of another Buhl et al, J Neurosci 2003

Confirmatory statististics What is null hypothesis? Stationary Gaussian process Permutation test Phase randomization 𝑥 𝑟𝑎𝑛𝑑 𝑡 = 𝑓 𝑥 𝑓 𝑒 2𝜋𝑖𝑓𝑡+ Φ 𝑟𝑎𝑛𝑑