Source localization for EEG and MEG Methods for Dummies 2006 FIL Bahador Bahrami.

Slides:



Advertisements
Similar presentations
J. Daunizeau Institute of Empirical Research in Economics, Zurich, Switzerland Brain and Spine Institute, Paris, France Bayesian inference.
Advertisements

EEG/MEG source reconstruction in SPM5
Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
EEG-MEG source reconstruction
Wellcome Dept. of Imaging Neuroscience University College London
Dynamic causal Modelling for evoked responses Stefan Kiebel Wellcome Trust Centre for Neuroimaging UCL.
EEG/MEG Source Localisation
STATISTICAL ANALYSIS AND SOURCE LOCALISATION
Bayesian models for fMRI data
Dynamic Causal Modelling for ERP/ERFs Valentina Doria Georg Kaegi Methods for Dummies 19/03/2008.
M/EEG forward problem & solutions Brussels 2011 SPM-M/EEG course January 2011 C. Phillips, Cyclotron Research Centre, ULg, Belgium.
MEG/EEG Inverse problem and solutions In a Bayesian Framework EEG/MEG SPM course, Bruxelles, 2011 Jérémie Mattout Lyon Neuroscience Research Centre ? ?
Contrasts & Inference - EEG & MEG Outi Tuomainen & Rimona Weil mfd.
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
Overview Contrast in fMRI v contrast in MEG 2D interpolation 1 st level 2 nd level Which buttons? Other clever things with SPM for MEG Things to bear in.
Electroencephalography The field generated by a patch of cortex can be modeled as a single equivalent dipolar current source with some orientation (assumed.
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK Institute of Empirical Research in Economics, Zurich, Switzerland Bayesian inference.
Group analyses of fMRI data Methods & models for fMRI data analysis 28 April 2009 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Group analyses of fMRI data Methods & models for fMRI data analysis 26 November 2008 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Learning to Identify Overlapping and Hidden Cognitive Processes from fMRI Data Rebecca Hutchinson, Tom Mitchell, Indra Rustandi Carnegie Mellon University.
Source Localization for EEG/MEG Stavroula Kousta Martin Chadwick Methods for Dummies 2007.
General Linear Model & Classical Inference
General Linear Model & Classical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM M/EEGCourse London, May.
Methods for Dummies Second level analysis
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
Source localization MfD 2010, 17th Feb 2010
SENSOR LEVEL ANALYSIS AND SOURCE LOCALISATION in M/EEG METHODS FOR DUMMIES Mrudul Bhatt & Wenjun Bai.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
DCM for ERPs/EFPs Clare Palmer & Elina Jacobs Expert: Dimitris Pinotsis.
CHAPTER 7: Clustering Eick: K-Means and EM (modified Alpaydin transparencies and new transparencies added) Last updated: February 25, 2014.
Corinne Introduction/Overview & Examples (behavioral) Giorgia functional Brain Imaging Examples, Fixed Effects Analysis vs. Random Effects Analysis Models.
Group analyses of fMRI data Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group, particularly.
EEG/MEG Source Localisation SPM Course – Wellcome Trust Centre for Neuroimaging – Oct ? ? Jérémie Mattout, Christophe Phillips Jean Daunizeau Guillaume.
EEG/MEG source reconstruction
Contrasts & Inference - EEG & MEG Himn Sabir 1. Topics 1 st level analysis 2 nd level analysis Space-Time SPMs Time-frequency analysis Conclusion 2.
Wellcome Dept. of Imaging Neuroscience University College London
Dynamic Causal Modelling for EEG and MEG
1 Experimental Design, Contrasts & Inference - EEG & MEG Joseph Brooks (ICN) Maria Joao (FIL) Methods for Dummies 2007 Wellcome Department For Neuroimaging.
Methods for Dummies Overview and Introduction
EEG/MEG source reconstruction
SPM Pre-Processing Oli Gearing + Jack Kelly Methods for Dummies
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
MfD EEG/MEG Source Localization 4 th Feb 2009 Maro Machizawa Himn Sabir Expert: Vladimir Litvak.
Dynamic Causal Model for evoked responses in MEG/EEG Rosalyn Moran.
Multimodal Brain Imaging Wellcome Trust Centre for Neuroimaging, University College, London Guillaume Flandin, CEA, Paris Nelson Trujillo-Barreto, CNC,
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
M/EEG: Statistical analysis and source localisation Expert: Vladimir Litvak Mathilde De Kerangal & Anne Löffler Methods for Dummies, March 2, 2016.
MEG Analysis in SPM Rik Henson (MRC CBU, Cambridge) Jeremie Mattout, Christophe Phillips, Stefan Kiebel, Olivier David, Vladimir Litvak,... & Karl Friston.
Bayesian Inference in SPM2 Will Penny K. Friston, J. Ashburner, J.-B. Poline, R. Henson, S. Kiebel, D. Glaser Wellcome Department of Imaging Neuroscience,
The General Linear Model Christophe Phillips SPM Short Course London, May 2013.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2016 Sven Bestmann, Sobell Department, Institute of Neurology, UCL
General Linear Model & Classical Inference Short course on SPM for MEG/EEG Wellcome Trust Centre for Neuroimaging University College London May 2010 C.
1 Jean Daunizeau Wellcome Trust Centre for Neuroimaging 23 / 10 / 2009 EEG-MEG source reconstruction.
Methods for Dummies M/EEG Analysis: Contrasts, Inferences and Source Localisation Diana Omigie Stjepana Kovac.
Imaging Source Reconstruction in the Bayesian Framework
General Linear Model & Classical Inference
The general linear model and Statistical Parametric Mapping
M/EEG Statistical Analysis & Source Localization
'Linear Hierarchical Models'
Linear Hierarchical Modelling
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
Dynamic Causal Modelling for M/EEG
Hierarchical Models and
Bayesian inference J. Daunizeau
M/EEG Statistical Analysis & Source Localization
Bayesian Inference in SPM2
Linear Hierarchical Models
WellcomeTrust Centre for Neuroimaging University College London
DCM Demo – Model Specification, Inversion and 2nd Level Inference
Presentation transcript:

Source localization for EEG and MEG Methods for Dummies 2006 FIL Bahador Bahrami

Before we start … SPM5 and source localization: On-going work in progress MFD and source localization: This is the first on this topic Main references for this talk: Jeremie Mattout’s slides from SPM course Slotnick S.D. chapter in Todd Handy’s ERP handbookTodd Handy’s ERP handbook Rimona Weil’s wonderful help (thanks Rimona!)

Outline Theoretical Source localization stated as a problem Solution to the problem and their limitations Practical* How to prepare data Which buttons to press What to avoid What to expect * Subject to change along with the development of SPM 5

Source localization as a problem

+ -

+ -

Any field potential vector could be consistent with an infinite number of possible dipoles The possibilities only increase with tri-poles and quadra-poles

ERP and MEG give us

And source localization aims to infer + - among

How do we know which one is correct? We can’t. There is no correct answer. We can only see which one is better Can we find the best answer? Source localization is an ILL-DEFINED PROBLEM Only among the alternatives that you have considered.

HUNTING for best possible solution Step ONE: How does your data look like? MEG sensor location MEG data Source Reconstruction Registration

HUNTING for best possible solution If then If then If then If then And on and on and on and … FORWARD MODEL Step Two

HUNTING for best possible solution Forward Model Experimental DATA Which forward solutions fit the DATA better (less error)? Inverse Solution

HUNTING for best possible solution Forward Inverse Solution DATA Iterative Process Until solution stops getting better (error stabilises) iteration error

Components of the source reconstruction process Source model Forward model Inverse method Registration ‘Imaging’ ‘ECD’ Data Anatomy

Recipe for Source localization in SPM5 Ingredients –MEG converter has given you.MAT data file (contains experimental data) sensloc file (sensors locations) sensorient (sensors orientations) fidloc (fiducial locations in MEG space) –fidloc in MRI space (we will see shortly) –Structural T1 MRI scan All in the same folder

fidloc in MRI space Nasion Left Tragus Right Tragus X X X Y Y Y Z Z Z Nasion Left Tragus Right Tragus Get these using SPM Display button Save it as a MAT file in the same directory as the data

Components of the source reconstruction process Source model Forward model Inverse solution Registration

Source model

Templates Individual MRI Compute transformation T Apply inverse transformation T -1 Individual mesh - Individual MRI - Template mesh - spatial normalization into MNI template - inverted transformation applied to the template mesh - individual mesh functions output

Scalp Mesh iskull mesh

Components of the source reconstruction process Registration

Rigid transformation (R,t) Individual MRI space fiducials Individual sensor space fiducials - sensor locations - fiducial locations (in both sensor & MRI space) - individual MRI input - registration of the EEG/MEG data into individual MRI space - registrated data - rigid transformation functions output

Forward model

Foward model Compute for each dipole Compute for each dipole Individual MRI space Model of the head tissue properties Model of the head tissue properties + Forward operator K n - sensor locations - individual mesh input - single sphere - three spheres - overlapping spheres - realistic spheres - forward operator K functions output BrainStorm

Inverse solution

Inverse solution (1) - General principles 1 dipole source per location Cortical mesh General Linear Model Y = KJ+ E [n x t][n x p] [n x t] [p x t] n : number of sensors p : number of dipoles t : number of time samples Under-determined GLM Regularized solution J : min( ||Y – KJ|| 2 + λf(J) ) J data fitpriors ^

Inverse solution (2) - Parametric empirical Bayes 2-level hierarchical model E 2 ~ N ( 0,C p ) E 1 ~ N ( 0,C e ) Y = KJ + E 1 J = 0 + E 2 Sensor level Source level Gaussian variables with unknown variance Gaussian variables with unknown variance Linear parametrization of the variances Gaussian variables with unknown variance Gaussian variables with unknown variance C e =  1.Q e 1 + … +  q.Q e q C p = λ 1.Q p 1 + … + λ k.Q p k Q: variance components ( , λ ): hyperparameters Q: variance components ( , λ ): hyperparameters

Inverse solution (3) - Parametric empirical Bayes Bayesian inference on model parameters Inference on J and ( , λ) Model M Q e 1, …, Q e q Q p 1, …, Q p k + JK + ,λ,λ F = log ( p(Y|M) ) =  log ( p(Y|J,M) ) + log ( p(J|M) ) dJ E-step: maximizing F wrt J J = C J K T [C e + KC J K T ] -1 Y ^ M-step: maximizing of F wrt ( , λ) C e + KC J K T = E[YY T ] Maximizing the log-evidence data fitpriors Expectation-Maximization (EM) MAP estimate ReML estimate

Inverse solution (4) - Parametric empirical Bayes Bayesian model comparison B 12 = p(Y|M 1 ) p(Y|M 2 ) Model evidence Relevance of model M is quantified by its evidence p(Y|M) maximized by the EM scheme Model comparison Two models M 1 and M 2 can be compared by the ratio of their evidence Bayes factor Model selection using a ‘Leaving-one-prior-out-strategy‘ Model selection using a ‘Leaving-one-prior-out-strategy‘

Inverse solution (5) - implementation - preprocessed data - forward operator - individual mesh - priors input - compute the MAP estimate of J - compute the ReML estimate of ( , λ ) - interpolate into individual MRI voxel-space - inverse estimate - model evidence functions output - iterative forward and inverse computation ECD approach

HUNTING for best possible solution Forward Inverse Solution DATA Iterative Process Until solution stops getting better (error stabilises) iteration error

Types of Analysis Evoked –The evoked response is a reproducible response which occurs after each stimulation and is phase-locked with the stimulus onset. Induced –The induced response is usually characterized in the frequency domain and contrary to the evoked response, is not phased-locked with the stimulus onset. The evoked response is obtained (on the scalp) as the stimulus or event- locked average over trials. This is then the input data for the 'evoked' case in source reconstruction. One can also reconstruct the evoked power in some frequency band (over the time window), this is what is obtained when choosing 'both' in source reconstruction. Jeremie says:

Conclusion - Summary Data space MRI space Registration Forward model EEG/MEG preprocessed data PEB inverse solution SPM

Important! Source model Forward model Inverse solution Registra tion The same for all conditions. Therefore, only done ONCE for each subject Repeated for each condition

Considerations Source localization project is still ongoing Unable to incorporate prior assumptions about source (e.g., from fMRI blobs) Source localization only for conditions Not for contrasts Source localization is a single subject analysis (no way to look at group effects)

Thank you Rimona! Thank you MFD!