Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workshop:goettingen [2014/01/30 14:52]
131.174.46.72 [Course program]
workshop:goettingen [2017/08/17 11:21] (current)
Line 34: Line 34:
 11:15 – 11:​30 Coffee Break 11:15 – 11:​30 Coffee Break
  
-11:30 – 13:​30 Hands-on: ​Getting ​started with EEG data (preprocessing,​ ERP)+11:30 – 13:​30 Hands-on: ​Initiation to FieldTrip & getting ​started with EEG data (preprocessing,​ ERP)
  
 13:30 – 14:45 Lunch 13:30 – 14:45 Lunch
Line 72: Line 72:
  
 17:00 – 17:​30 Wrap-up-the-day and Summary 17:00 – 17:​30 Wrap-up-the-day and Summary
 +
 +===== Installing FieldTrip and preparing for the hands-on sessions =====
 +
 +For the hands-on sessions you have to start MATLAB. To ensure that
 +everything runs smooth, we will work with a clean and well-tested
 +version of fieldtrip that is distributed on a USB stick, rather than the older version you might already have installed. Furthermore,​ the tutorial data will also be distributed on the USB stick.
 +
 +If you want to download it in advance, please go to ftp://​ftp.fieldtriptoolbox.org/​pub/​fieldtrip and get
 +  * fieldtrip-20130906.zip
 +  * Subject01.zip
 +  * all files in the tutorial/​eventrelatedaveraging directory
 +
 +<note warning>
 +Depending on the unzip program you are using (e.g. Winrar), the name
 +of the zip file might also appear as directiory, resulting in
 +path_to_directory/​fieldtrip-xxxxxxxx/​fieldtrip-xxxxxxxx,​ i.e. the
 +fieldtrip directory in a fieldtrip directory. Please fix that by
 +moving all files one level up.
 +</​note>​
 +
 +After copying all files to your computer and unzipping then, you start MATLAB. To ensure that the right version of fieldtrip is used, and not another version (such as the one included in SPM or EEGLAB), you type in the MATLAB command window
 +
 +  restoredefaultpath
 +  cd path_to_directory/​fieldtrip-xxxxxxxx
 +  addpath(pwd)
 +  ft_defaults
 +
 +<note warning>
 +Please do NOT use the graphical path management tool from MATLAB. In this hands-on session we'll manage the path from the command line, but in general you are much better off using a startup.m file than the path GUI.
 +
 +Please do NOT add fieldtrip with all subdirectories,​ subdirectories will be added automatically when needed, but only when needed.
 +</​note>​
 +
 +The restoredefaultpath command clears your path, keeping only the
 +official MATLAB toolboxes. The addpath(pwd) statement adds the
 +present working directory, i.e. the directory containing the fieldtrip
 +main funcctions. The ft_defaults command ensures that all required
 +subdirectories are added to the path.
 +
 +If you get the error "​can'​t find the command ft_defaults"​ you should check the present working directory. ​
 +
 +After installing fieldtrip to your path, you change into the data directory
 +
 +  cd path_to_directory/​data