21 February 2010 View Comments

FieldTrip – the MATLAB toolbox for EEG/MEG analysis


FieldTrip is a Matlab software toolbox for MEG and EEG analysis that is being developed at the Donders Institute for Brain, Cognition and Behaviour at the Radboud University Nijmegen, the Netherlands.

The FieldTrip toolbox includes algorithms for simple and advanced analysis of MEG and EEG 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, BTi) and of the 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 developers to incorporate low-level algorithms for new EEG/MEG analysis methods.

The FieldTrip homepage can be found at http://fieldtrip.fcdonders.nl

The FieldTrip email discussion list can be found at https://listserv.surfnet.nl/archives/fieldtrip.html

A read-only version of the SVN repository is available on http://code.google.com/p/fieldtrip, which is synchronized every evening with the in-house development version. You can use it to keep up to date with the latest updates of the source code, to revert to older versions, and to track all individual changes to the files.

 

Application Example: Frequency and time-frequency analysis

Frequency analysis consists of preprocessing, performing a Fourier or wavelet decomposition of the data, optionally averaging over subjects and/or testing for significant effects and finally plotting the result.

2010-02-21_001941

Other Examples

2009/03/03 21:52

2009/02/26 22:06

2009/03/03 21:52

2009/03/05 11:07
Saskia Haegens

2009/03/03 21:52

2009/03/03 21:52

2009/05/20 14:57

2009/05/20 14:57

2009/07/31 11:49

2009/03/03 21:52

2009/03/03 21:52

2009/03/03 21:53

2009/08/04 22:43

2009/04/21 12:23

2009/04/21 12:23

2009/04/21 12:23

2009/04/21 12:23

2009/04/21 12:05

2009/05/20 14:57

2010/01/04 18:18

2009/03/03 21:58

2009/03/03 21:53

2009/04/20 23:01
Robert Oostenveld

2009/05/20 14:57

2009/03/03 21:58

2009/12/02 15:34

2009/10/29 16:21

2009/03/03 21:58

2009/07/29 19:02

2009/10/22 09:48

2009/03/03 21:58

2009/03/05 16:56
Saskia Haegens

2009/03/03 21:58

2009/03/03 21:58

Tags:
  • pedronavajo2
    Hi, I would like to contact Saskia Haegens, I need help about how to simulate more than two dipoles in field trip, with timecourse, because in the example above:
    2009/03/03 21:52

    * Compute forward simulated data and apply a dipole fit
    They explain how to simulate two dipoles and his moments, and they set the dipole moment as:

    cfg.dip.mom = [ % each row represents [qx1 qy1 qz1 qx2 qy2 qz2]
    1 0 0 0 0 0 % this is how signal1 contributes to the 6 dipole components
    0 0 0 1 0 0 % this is how signal2 contributes to the 6 dipole components
    ]'; % note, it should be transposed

    My question is; if I have 128 dipoles, the structure field cfg.dip.mom should go like this:
    >> for i=1:128
    moms(i,3*(i-1)+1)=1;
    end
    >> moms=moms'; %%and then..
    >> cfg.dip.mom=moms;
    Because if so, I'm getting the next error:
    >> dip1 = dipolefitting(cfg, avg3);
    the input is timelock data with 30 channels and 250 timebins
    using headmodel specified in the configuration
    using electrodes specified in the configuration
    selected 30 channels
    selected 250 topographies
    Warning: not enough channels to perform a dipole fit
    > In dipolefitting at 438
    ??? Error using ==> dipolefitting at 471
    inconsistent number of dipoles in configuration
    PLEASE HELP I'LL BE VERY THANKFUL
blog comments powered by Disqus