fieldtrip /fieldtrip
The MATLAB toolbox for MEG, EEG and iEEG analysis
★ 993⑂ 769👁 46⑃ 1,854● 780▤ 17
+0
Daily
993
stars
769
forks
46
watchers
1,854
prs
780
issues
17
releases
README
FieldTrip FieldTrip is the MATLAB software toolbox for MEG, EEG and iEEG analysis that is being developed at the Donders Institute for Brain, Cognition and Behaviour in Nijmegen, the Netherlands together with collaborating institutes. The toolbox offers advanced analysis methods of MEG, EEG, and invasive electrophysiological data, such as time-frequency analysis, source reconstruction using dipoles, distributed sources and beamformers and non-parametric statistical testing. It supports the data formats of all major MEG systems (CTF, Neuromag/Elekta/Megin, BTi/4D, Yokogawa/Ricoh, FieldLine) and of most popular EEG systems, and new formats can be added easily. FieldTrip contains high-level functions that you can use to construct your own analysis protocols in MATLAB. Furthermore, it easily allows methods researchers to incorporate new methods for EEG/MEG analysis. For more information, documentation, and tutorials, please visit https://www.fieldtriptoolbox.org Installation To install the FieldTrip toolbox on your computer, you can clone this repository or download the zip file, unzip it, and add it to your MATLAB path. Subsequently you call the ft_defaults function, which will add the required subdirectories to the path. We recommend that you add the addpath(...) and the ft_defaults command to your startup.m file. See also https://www.fieldtriptoolbox.org/faq/installation/ Note that you should not use addpath(genpath(...)) and we recommend not to use the "add with subdirectories" button in the graphical path setup tool, as there are a number of external toolboxes and backward compatibility directories that you should not add to your path. If those directories are needed, then ft_defaults and ft_hastoolbox will take care of them. Copyright The FieldTrip software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING for more details. The functions in the FieldTrip toolbox are copyrighted by their respective authors: - Robert Oostenveld, DCCN, FCDC, SMI, MBFYS - Jan-Mathijs Schoffelen, DCCN, MPI, CCNi, FCDC - Pascal Fries, FCDC - Eric Maris, DCC, FCDC - Arjen Stolk, DCCN - Eelke Spaak, DCCN - Ingrid Nieuwenhuis, DCCN, FCDC - Jens Schwarzbach, FCDC - Jorn Horschig, DCCN - Lilla Magyari, MPI, DCCN - Markus Siegel, FCDC, UKE - Martin Vinck, DCCN, SILS - Ole Jensen, FCDC - Roemer van der Meij, DCC - Saskia Haegens, DCCN, FCDC - Vladimir Litvak, UCL - and many other contributors The authors are or were working at a range of academic institutions: - Copyright (C) 2008-2025, Donders Institute for Brain, Cognition and Behaviour, Radboud University, The Netherlands (DCCN, DCC, DCN) - Copyright (C) 2014-2025, Karolinska Institute, Stockholm, Sweden (NatMEG) - Copyright (C) 2012-2018, Max Planck Institute for Psy
Top issues
#1307Inconsistency in minimumnormestimate usage of lambda19 comments · 2020-02-15#1024Improve documentation for regression and CI testing19 comments · 2019-03-23#1710ft_interpolate using source which are only inside a volume16 comments · 2021-03-17#2067Examples on how to read and process BIDS data with fieldtrip for the website14 comments · 2022-06-30#2011improvements to ft_dipolesimulation14 comments · 2022-04-05#1968improve ft_databrowser for reviewing large amounts of trial-based data13 comments · 2022-02-03#1333ft_prepare_sourcemodel: improve documentation/functionality of inwardshift/moveinward13 comments · 2020-03-11#1128Loading discontinuous Neuralynx data13 comments · 2019-05-29
Latest release
fieldtrip-20251218 20251218 2026-01-08This release corresponds to the 2025 end-of-year version of the FieldTrip toolbox.