top of page

FieldTrip

FieldTrip doesn’t have a graphic user interface (menus you can click). It is instead a set of functions. Most of these functions have “ft_” at the beginning to indicate that they are FieldTrip functions.



This is a good introduction to FieldTrip and its structure. I would highly recommend reading through this page in order to gain a basic understanding of how FieldTrip works. Yeah, I know you think you can just go for it, but you’ll save yourself a lot of time by reading through it, at least until the Artifact Rejection section.


cfg structure

For most of the functions, you set the parameters you want using a structure labeled cfg. For example, for the ft_topoplotER function, you would set your desired parameters like this:

cfg = [];                    % create an empty cfg structure

cfg.xlim = [0.400 0.800];    % set the time limits to be 400 tp 800 ms

cfg.fontsize = 14;           % set the font size on the plot to 14

ft_topoplotER(cfg, data)     % actually execute the function  


Tutorials

Once you’ve read the introduction, you should read through the tutorials that are specific to what you want to do.


Functions

For more information on specific functions, either look at the documentation for that specific function, or look at the header of the function file in Matlab. They contain the same information. This is where to find out how to specify the inputs and other parameters.

Related Posts

See All

Average Waveforms

Here, we plot the waveform of the averaged data using EEGLAB. For example, we may want to plot the average waveform of the scene stimuli...

Video Tutorials
AcqKnowledge Tutorial - Part 2
06:48
AcqKnowledge Tutorial - Part 1
02:11
Meta-analysis in R - Plotting Data
07:47
Meta-analysis in R - Data Culmination
01:18
Meta-analysis in R - Filtering Data
01:04
bottom of page