Welcome to the FieldTrip homepage

FieldTrip is a Matlab software toolbox for MEG and EEG analysis that is being developed at the Centre for Cognitive Neuroimaging of the Donders Institute for Brain, Cognition and Behaviour together with collaborating institutes. The development of FieldTrip is currently supported by funding from the BrainGain project. The FieldTrip software is released as open source under the GNU general public license.

The software 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.

This FieldTrip website is a Wiki (just like Wikipedia), which allows anyone visiting the site to add, remove, or otherwise edit all content, very quickly and easily, without the need for registration. The IP addresses of people that make changes are logged, and they can be blocked if needed. Please act responsibly and only make changes that improve this site.

Recent messages on the discussion list

News

29 Januari 2010

The wiki system has just been upgraded to the latest version (dokuwiki-2009-12-25c).

16 December 2009

As some of you may know, Matlab (and specifically the older versions that we still support) does not have a good way of separating functions in different toolboxes from each other. The fieldtrip version of preprocessing (or read_data) might be completely different from a function with the same name in another toolbox. That is not a problem for some of the unusual function names, but some function names like “preprocessing” are very generic and therefore likely to be used in completely different contexts.

After repeated discussion with the developers of the SPM Matlab toolbox, we have decided to start adopting the same naming scheme that SPM is using. That naming scheme consists of prefixing the function name with the name of the toolbox, e.g. spm_contrasts. The prefix that FieldTrip will use is “ft_”. So that means that the FieldTrip preprocessing function will be renamed into ft_preprocessing, sourceanalysis will become ft_sourceanalysis, freqanalysis will become ft_freqanalysis, etc. This will affect all publicly available FieldTrip functions, i.e. the main functions that you are using. The advantage of this change in function names is that it further facilitates the already very good collaboration of the FieldTrip project with other EEG/MEG method development groups, such as SPM, EEGLAB, BrainStorm and others.

Note that this is not an easy choice to make and we have carefully considered the consequences. Of course all users have existing scripts that use the old function names. We will do our utmost best to ensure that your old scripts will remain functional, also with new versions of the fieldtrip toolbox. To make this possible, we will provide backward compatibility wrappers, e.g. there will be a preprocessing.m function that calls ft_preprocessing.m and the likes. Not only the existing analysis scripts are affected, but also the documentation on the fieldtrip wiki will have to be updated. Furthermore, fieldtrip functions often call each other, which means that inside the fieldtrip functions the function names also have to be changed.

On the short time scale, we will provide backward compatibility wrapper functions. On the medium time scale, we will ensure that the fieldtrip code and documentation is internally consistent. On the long run everyone (which includes you!) should adopt the new function names. Please start using these new function names in your scripts and in your derived functions as soon as possible. At a certain point in the future, the backward compatibility to the old/current function names will be removed from the fieldtrip release, so by that time all of your scripts should only be using the new function names, otherwise they won't work any more. The backward compatibility will be ensured throughout 2010, i.e. for a full year. Usually we are able to maintain backward compatibility for a much longer time, so probably you should not have to worry about this too much.

18 November 2009

We have migrated most of the source code from a CVS repository to a new SVN repository, which facilitates the development and the release management. See the documentation about the SVN source code management for more details.

8 September 2009

I have released the external/biosig directory from the FieldTrip release version, because it is causing problems with some of the functions having the same name as a Matlab builtin. If needed, you can get a condensed version of the biosig code from ftp://ftp.fcdonders.nl/pub/fieldtrip/external or the full code from the BIOSIG website.

Recent changes to the code

2010-02-08 22:34 roboos

  • peer/src/Makefile, peer/src/compiler.h, peer/src/fairshare.c, peer/src/peerinit.c, peer/src/platform_includes.h: some small changes to the source code to smooth compilation on osx, no functional changes

2010-02-08 17:14 roboos

  • private: added two files from forwinv/private

2010-02-08 17:11 roboos

  • private/channelposition.m: fixed problem in case balancing info was not present in the grad structure

2010-02-08 16:45 roboos

  • peer/peercompile.m, peer/src/announce.c, peer/src/compiler.h, peer/src/discover.c, peer/src/expire.c, peer/src/fairshare.c, peer/src/peer.c, peer/src/peer.h, peer/src/peerinit.c, peer/src/platform_includes.h, peer/src/socket_includes.h, peer/src/tcpserver.c, peer/src/tcpsocket.c, peer/src/unix_includes.h, peer/src/util.c, peer/src/win32, peer/src/win32/gettimeofday.c, peer/src/win32/gettimeofday.h, peer/src/win32/poll.c, peer/src/win32/stdint.h: first attempt to clean up the code so that it can compile on windows

changed header files, added compiler specific ifdefs in compiler.h

  changed unix_includes annd socket_includes into platform_includes
  moved many variable declarations to the top of the function
  don't assign value 0 to pthread_t variable (in peer.c)
  all the code compiles currently, but it does not link yet into a mex file
  determining the host IP address is disabled

2010-02-08 15:46 jansch

  • public/sourcerestyle.m: first implementation to convert from old style source structure to new style (and v.v.). This function should at some point move to private and should be called by checkdata

More detailed information on changes to the code is available for the different modules

  • a longer history of changes to the fieldtrip main functions is available here
  • reading and writing of data is done using the fileio module, see changelog
  • forward and inverse source modeling is done using the forwinv module, see changelog
  • preprocessing (e.g. filtering and detrending) is done using the preproc module, see changelog
  • support for realtime analysis is implemented using the realtime module, see changelog
start.txt · Last modified: 2010/01/29 16:11 by robert
Back to top
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0