MEG Analysis Workshop with MNE and FieldTrip

January 20 – 24, 2014


by Matti Hamalainen


Matti Hamalainen (MNE)
Robert Oostenveld (FieldTrip)
Alexandre Gramfort (MNE)
Stephen Whitmarsh (FieldTrip)


Anaïs Louzolo (Karolinska Institutet)
Anders Hedström Sahlgrenska University Hospital)
Björn Schiffler Karolinska Institutet)
Carine Signoret Linköping University)
Christina Regenbogen Karolinska Institutet)
Christopher Bailey (Aarhus University)
Daniel Lundqvist (Karolinska Institutet)
David Silverstein (KTH)
Ellen Marklund (Stockholm University)
Elmeri Syrjänen (Stockholm University)
Élodie Cauvet (Karolinska Institutet)
Fahimeh Darki (Karolinska Institutet)
Francesca Fardo (Aarhus University)
Francisco Lacerda (Stockholm University)
Jan Wikgren (University of Jyväskylä)
Jarno Mikkonen (University of Jyväskylä)
Johanna Schwarz (Stockholm University)
Justin Schneiderman (University of Gothenburg)
Karl Sallin (Karolinska Institutet)
Laszlo Harmat (Karolinska Institutet)
Lau Møller (Andersen Aarhus University)
Lena Renner (Stockholms University)
Mominul Islam (Karolinska Hospital)
Örjan Dahlström (Linköping University)
Patrik Andersson (Karolinska Institutet)
Predrag Petrovic (Karolinska Institutet)
Rita Almeida (Karolinska Institutet)
Stefan Wiens (Stockholm University)
Yury Shtyrov (Aarhus University)


The full documentation on the MNE package can be found here.

The documentation on the FieldTrip package can be found via the homepage, specifically of interest are the tutorials and the FAQs.

We have tailored the hands-on tutorials to the NatMEG data analysis workshop, using data recorded recently on the NatMEG system. Below you can find the material for the hands-on sessions.


Introduction to MEG signal and noise

MNE preprocessing hands-on

FieldTrip preprocessing hands-on

FieldTrip preprocessing introduction lecture hand-outs


FieldTrip Time-Frequency hands-on

FieldTrip Time-Frequency lecture hand-outs

MNE Time-Frequency hands-on

Here are the different FieldTrip trial functions that zoom in on different parts of the data:

trialfun visual cue

trialfun visual response

trialfun visual stimulus


Forward modelling lecture hand-outs

Segmentation lecture hand-outs

Inverse Models and Dipole fitting lecture hand-outs

Beamformer lecture hand-outs

FieldTrip Beamformer hands-on

Download the Beamformer data here

You can also only download the segmented, resliced, coregisted brain here

MNE source analysis hands-on

MNE step-by-step anatomy pipeline

MNE source analysis hand-outs


FieldTrip statistics lecture hand-outs

FieldTrip statistics hands-on

MNE multivariate statistics (classification) hands-on


Connectivity lecture hand-outs