Welcome to the FieldTrip website

FieldTrip is the MATLAB software toolbox for MEG, EEG and iEEG analysis, which is released free of charge as open source software under the GNU general public license.

Please cite the FieldTrip reference paper when you have used FieldTrip in your study.

Robert Oostenveld, Pascal Fries, Eric Maris, and Jan-Mathijs Schoffelen. FieldTrip: Open Source Software for Advanced Analysis of MEG, EEG, and Invasive Electrophysiological Data. Computational Intelligence and Neuroscience, vol. 2011, Article ID 156869, 9 pages, 2011. doi:10.1155/2011/156869.

To get started, head over to the getting started documentation and the tutorials.

Latest release

The latest code developments can be tracked in detail on GitHub.

09 July, 2021

FieldTrip version 20210709 has been released with improved coverage of the testing scripts that we use to maintain the quality of our releases. This is thanks to Luca La Fisca who is working on the MATLAB for Neuroscience Summer Project. While implementing the additional tests, we also made several improvements to our low-level source modelling, plotting and connectivity functions. See GitHub for the detailed list of commits and the project page for the aims that we still hope to realize in the coming month.

News and announcements

You can also follow us on Twitter.

9 July 2021 - Artinis fNIRS analysis toolbox series – FieldTrip

Artinis, a NIRS company located close to Nijmegen and involved as technical partner in quite a few projects with the Donders Institute and the Radboud University, is writing a series of blog posts on using various analysis toolboxes for fNIRS data. This week they released a blog post on using FieldTrip for the analysis of fNIRS data appeared. Please check it out if you are interested. You can also check out other documentation here on this website that is tagged with NIRS.

30 April, 2021

From 19-23 April 2021 we hosted the Donders MEG/EEG Tool-kit. Although we would have loved to physically host the toolkit in Nijmegen, the ongoing COVID situation still restricts traveling and large meetings. We had a great week online with over 40 participants and 20 tutors, spanning 10 time zones. Thanks to all participants and tutors for the friendly atmosphere and the constructive interactions!

29 March, 2021

It is recommended and sometimes even required to provide a sample size estimation prior to starting your data acquisition. Dr. Cheng Wang has contributed a very nice example page that demonstrates how to determine the number of subjects to obtain a certain statistical power, also when using cluster-based permutation tests.

If you also want to contribute an example page, please see here.

18 March, 2021

From 19-23 April 2021 we will again host the Donders MEG/EEG Tool-kit. Although we would have loved to welcome you in-person in Nijmegen, the ongoing COVID situation restricts traveling and large meetings. However, last year we experienced that in an online format the toolkit course is also really fun, effective and rewarding! Preregistration is now open, please see here for further details.

18 December, 2020

Yesterday Mats van Es defended his PhD thesis “On the role of oscillatory synchrony in neural processing” and was awarded the PhD title. Congratulations!

Mats not only used FieldTrip in a number of interesting MEG studies, but also contributed as lecturer in the MEG toolkit courses. Furthermore, he recently implemented the reproducescript functionality (which will be published soon). He continues his research at the MEG center in Oxford.

18 December, 2020

Thanks to Sander, Catarina, Casper, Julia, Christopher, Marije and Maria from the Glasgow Memory Lab for the very kind words on your postcard to the FieldTrip team. Greatly appreciated!

27 November, 2020

Regretfully we identified a bug in FieldTrip releases starting from release 20200701 onward, which might have affected your results.

Specifically, if you have been using ft_sourceanalysis with DICS as a method, and if the order of the channels of the input data structure was not alphabetical, the results are incorrect. This is caused by an accidental alphabetical reordering of the channels in the cross-spectral density matrix, which was not reflected by a similar reordering in the leadfields. We are grateful to Alexandra Steina to help us identify and resolve it. See issue #1587 on GitHub for more information.

Are you affected? If you used a FieldTrip version between 20200701 and 20201126, and you used ft_sourceanalysis with method DICS, and your channels are not in alphabetical order, then you are likely affected. For CTF MEG data the channels are usually in alphabetical order. Neuromag/Elekta MEG data, and MEG data from other systems often have the channels not in alphabetical order. The same holds for EEG data, so your results are likely affected if you are working with EEG data, or non-CTF MEG data.

To resolve the problem, please update to the latest 20201126 release version from the FTP server or from the GitHub release page, recompute your source estimates, and your downstream results.