XClose

By members and collaborators of the Functional Imaging Laboratory

SPM Workshop for EEG/MEG

Installation of SPM12 software

Installation with MATLAB

SPM12 is designed to work with MATLAB from versions 7.4 (R2007a) to 9.11 (R2022a).

Download: spm12.zip (r7771)
Installation instructions: https://www.fil.ion.ucl.ac.uk/spm/docs/installation/

Installation without MATLAB

A standalone version of SPM12 is also available. Its installation does not require the availability of a MATLAB licence but you need to have administrative rights on your computer in order to install the MATLAB Compiler Runtime (MCR):

Download: SPM12 standalone
Installation instructions: https://www.fil.ion.ucl.ac.uk/spm/docs/installation/

Data for the course demos

Responses to faces

Preprocessing and source analysis demo
Group M/EEG dataset analysis - demo
Processed single-subject data
Source estimation - single subject
Images for group analysis: As a single large file or as 4 smaller files [1], [2], [3], [4]
Group fMRI results

DCM demo

DCM for CSD

Tutorial datasets

SPM12 manual
SPM12 manual: manual.pdf
BEM file for source reconstruction
BEM file to copy in spm12/canonical: single_subj_T1_EEG_BEM.mat
EEG Single Subject Mismatch Negativity dataset
This is an 128-channel EEG single subject example data set which is used for demonstrating the usage of scripts in M/EEG pre-processing and DCM for evoked responses.
Multi-modal faces dataset
This archive contains EEG, MEG and fMRI data on the same subject within the same paradigm. It can be used to examine how various measures of face perception, such as the "N170" ERP (EEG), the "M170" ERF (MEG) and fusiform activation (fMRI), are related. For example, the localisation of the generator(s) of the N170 and/or M170 can be constrained by the fMRI activations. It also includes a high resolution anatomical MRI image (aMRI) for construction of a head-model for the EEG and MEG data, together with data from a Polhemus digitizer that can be used to coregister the EEG and MEG data with the aMRI.
Anaesthesia Depth in Rodent Data
This 2-channel Local Field Potential (LFPs) dataset demonstrates the use of DCM for Cross Spectral Densities.
Multimodal, multisubject data fusion
This dataset contains EEG, MEG, functional MRI and structural MRI data from 16 subjects who undertook multiple runs of a simple task performed on a large number of Famous, Unfamiliar and Scrambled faces.
Multimodal Integration of M/EEG and f/MRI Data in SPM12
DCM for ERP Tutorial
PEB Tutorial
OPM Tutorial
Materials from the joint SPM-Fieldtrip workshop MEG-UK 2015: