LFPs 1: Spectral analysis Kenneth D. Harris 11/2/15.

Slides:



Advertisements
Similar presentations
Thursday, October 12, Fourier Transform (and Inverse Fourier Transform) Last Class How to do Fourier Analysis (IDL, MATLAB) What is FFT?? What about.
Advertisements

Electrophysiology of neurons. Some things to remember…
FilteringComputational Geophysics and Data Analysis 1 Filtering Geophysical Data: Be careful!  Filtering: basic concepts  Seismogram examples, high-low-bandpass.
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
5. Spectrograms and non-stationary signals
Digital Signal Processing
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
1 Eigenmannia: Glass Knife Fish A Weakly Electric Fish Electrical organ discharges (EODs) – Individually fixed between 250 and 600 Hz –Method of electrolocation.
Local Field Potentials, Spikes and Modeling Strategies for Both Robert Haslinger Dept. of Brain and Cog. Sciences: MIT Martinos Center for Biomedical Imaging:
Neural Coding 4: information breakdown. Multi-dimensional codes can be split in different components Information that the dimension of the code will convey.
Electrophysiology. Neurons are Electrical Remember that Neurons have electrically charged membranes they also rapidly discharge and recharge those membranes.
School of Computing Science Simon Fraser University
Subdural Grid Intracranial electrodes typically cannot be used in human studies It is possible to record from the cortical surface Subdural grid on surface.
Spectral analysis Kenneth D. Harris 18/2/15. Continuous processes A continuous process defines a probability distribution over the space of possible signals.
Time-Frequency and Time-Scale Analysis of Doppler Ultrasound Signals
Convolution, Edge Detection, Sampling : Computational Photography Alexei Efros, CMU, Fall 2006 Some slides from Steve Seitz.
Statistical analysis and modeling of neural data Lecture 17 Bijan Pesaran 12 November, 2007.
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
Immagini e filtri lineari. Image Filtering Modifying the pixels in an image based on some function of a local neighborhood of the pixels
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Fourier Theory and its Application to Vision
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Leo Lam © Signals and Systems EE235. Leo Lam © Futile Q: What did the monsterous voltage source say to the chunk of wire? A: "YOUR.
Lecture 24: Cross-correlation and spectral analysis MP574.
Over-Sampling and Multi-Rate DSP Systems
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Formatting and Baseband Modulation
Fourier representation for discrete-time signals And Sampling Theorem
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
ORE 654 Applications of Ocean Acoustics Lecture 6a Signal processing
LE 460 L Acoustics and Experimental Phonetics L-13
Leo Lam © Signals and Systems EE235 Lecture 28.
LFPs Kenneth D. Harris 11/2/15. Local field potentials Slow component of intracranial electrical signal Physical basis for scalp EEG.
Outline 2-D Fourier transforms The sampling theorem Sampling Aliasing
Random Processes ECE460 Spring, Power Spectral Density Generalities : Example: 2.
The Wavelet Tutorial Dr. Charturong Tantibundhit.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Spectral analysis of multiple timeseries Kenneth D. Harris 18/2/15.
Functional Brain Signal Processing: EEG & fMRI Lesson 5 Kaushik Majumdar Indian Statistical Institute Bangalore Center M.Tech.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
§ 4.1 Instrumentation and Measurement Systems § 4.2 Dynamic Measurement and Calibration § 4.3 Data Preparation and Analysis § 4.4 Practical Considerations.
Lecture#10 Spectrum Estimation
2D Sampling Goal: Represent a 2D function by a finite set of points.
Leo Lam © Signals and Systems EE235. Leo Lam © Fourier Transform Q: What did the Fourier transform of the arbitrary signal say to.
Digital Image Processing
Discrete-time Random Signals
Stochastic Process Theory and Spectral Estimation Bijan Pesaran Center for Neural Science New York University.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Stochastic Process Theory and Spectral Estimation
Continuous-time Signal Sampling
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 17 and 18 Interpolation.
Electrophysiology. Neurons are Electrical Remember that Neurons have electrically charged membranes they also rapidly discharge and recharge those membranes.
Methods for Dummies M/EEG Analysis: Contrasts, Inferences and Source Localisation Diana Omigie Stjepana Kovac.
… Sampling … … Filtering … … Reconstruction …
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
The general linear model and Statistical Parametric Mapping
Chapter 3 Sampling.
EET 422 EMC & COMPLIANCE ENGINEERING
Sampling rate conversion by a rational factor
(C) 2002 University of Wisconsin, CS 559
Filtering Geophysical Data: Be careful!
Spike Sorting for Extracellular Recordings
Advanced Digital Signal Processing
Spike Sorting for Extracellular Recordings
The general linear model and Statistical Parametric Mapping
Xiaomo Chen, Marc Zirnsak, Tirin Moore  Cell Reports 
Presentation transcript:

LFPs 1: Spectral analysis Kenneth D. Harris 11/2/15

Local field potentials Slow component of intracranial electrical signal Physical basis for scalp EEG

Today we will talk about Physical basis of the LFP Current-source density analysis Some math (signal processing theory, Gaussian processes) Spectral analysis

Physical basis of the LFP signal Synaptic input Intracellular current Charging current (capacitive) plus leak current (resistive) Return current

Linear probe recordings

Spatial interpolation To make nicer figures, interpolate before taking second derivative. Which interpolation method? Linear? Quadratic? Cubic spline method fits 3 rd -order polynomials between each “knot”, 1 st and 2 nd derivative continuous at knots.

Current source density Laminar LFP recorded in V1 Triggered average on spikes of simultaneously recorded thalamic neuron Getting the sign right Remember current flows from V+ to V– Local minimum of V(z) = Current sink =second derivative positive Jin et al, Nature Neurosci 2011

Current source density: potential problems Assumption of (x,y) homogeneity Gain mismatch The CSD is orders of magnitude smaller than the raw voltage If the gain of channels are not precisely equal, raw signal bleeds through Sink does not always mean synaptic input Could be active conductance Can’t distinguish sink coming on from source going off Because LFP data is almost always high-pass filtered in hardware Plot the current too! (i.e. 1 st derivative). This is easier to interpret, and less susceptible to artefacts.

Signal processing theory

Typical electrophysiology recording system Filter has two components High-pass (usually around 1Hz). Without this, A/D converter would saturate Low-pass (anti-aliasing filter, half the sample rate). AmplifierFilter A/D converter

Sampling theorem Nyquist frequency is half the sampling rate If a signal has no power above the Nyquist frequency, the whole continuous signal can be reconstructed uniquely from the samples If there is power above the Nyquist frequency, you have aliasing

Power spectrum and Fourier transform They are not the same! Power spectrum estimates how much energy a signal has at each frequency. You use the Fourier transform to estimate the power spectrum. But the raw Fourier transform is a bad estimate. Fourier transform is deterministic, a way of re-representing a signal Power spectrum is a statistical estimator used when you have limited data

Discrete Fourier transform

Using the Fourier transform to estimate power Noisy!

Power spectra are statistical estimates Recorded signal is just one of many that could have been observed in the same experiment We want to learn something about the population this signal came from Fourier transform is a faithful representation of this particular recording Not what we want

Continuous processes A continuous process defines a probability distribution over the space of possible signals Sample space = all possible LFP signals Probability density

Stationary Gaussian process

Autocovariance

Power spectrum estimation error

Power spectrum estimation

Tapering Fourier transform assumes a periodic signal Periodic signal is discontinuous => too much high-frequency power

Welch’s method Average the squared FFT over multiple windows Simplest method, use when you have a long signal

Welch’s method results (100 windows)

Averaging in time and frequency Shorter windows => more windows Less noisy Less frequency resolution Averaging over multiple windows is equivalent to averaging over neighboring frequencies

Multi-taper method Only one window, but average over different taper shapes Use when you have short signals Taper shapes chosen to have fixed bandwidth

Multitaper method (1 window)

Hippocampus LFP power spectra Typical “1/f” shape Oscillations seen as modulations around this Usually small, broad peaks CA1 pyramidal layer Buzsaki et al, Neuroscience 2003

Connexin-36 knockout Buhl et al, J Neurosci 2003

Stimulus changes power spectrum in V1 High-frequency broadband power usually correlates with firing rate Is this a gamma oscillation? Henrie and Shapley J Neurophys 2005

Attention changes power spectrum in V1 Chalk et al, Neuron 2010