Tags: madrid2019 eeg-sedation eeg-language

FieldTrip workshop in Madrid

Where

Facultad de Psicologia, Universidad Autonoma de Madrid, Calle IvĂĄn Pavlov, 6, 28049 Madrid, Spain.

When

Monday January 21st - Tuesday January 22nd.

Who

The “Sociedad Espanola de Psicofisiologia y Neurociencia Cognitiva y Afectiva” (SEPNECA) is the local organizer. Sophie Arana (Donders Institute, Nijmegen) and Diego Lozano-Soldevilla (CIBERER, Madrid; IDIBAPS, Barcelona) are the lecturers.

Program

Monday Jan 21st

  • 09:30-10:00 Registration, handouts and coffee
  • 10:00-11:00 Introduction to MATLAB and the FieldTrip toolbox (Lecture)
  • 11:00-11:15 Coffee Break
  • 11:15-12:45 Getting started with EEG data, quality checks and ERPs (Hands-on)
  • 13:00-14:00 Lunch
  • 14:00-15:00 EEG acquisition, pre-processing, ICA, artifact rejection (Lecture)
  • 15:00-15:15 Tea Break
  • 15:30-17:30 Cleaning and processing resting state EEG (Hands-on)
  • 17:30-18:00 Wrap-up-the-day: special topics, general questions and answers

Tuesday Jan 22nd

The data used for the hands-on sessions

During the hands-on sessions we will use task EEG data recorded in a language experiment, and resting-state EEG data recorded during sedation with Propofol. The resting-state EEG data has been reorganized/reformatted from its original format into BIDS as described in this script.

The data will be provided on a USB stick during the hands-on sessions. You can also download the data from our download server.

Installing FieldTrip and setting up MATLAB

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 version you might already have installed. Furthermore, the tutorial data does not have to be downloaded but will also be distributed on the USB stick.

  1. Copy the contents from the USB stick to your computer
  2. Unzip the fieldtrip-xxxxxxxx.zip file.
  3. Unzip the “data.zip” file, you should place the contents in the same directory, e.g., in a newly created directory called ‘toolkit’.

Depending on the unzip program you are using (e.g., Winrar), the name of the zip file might also appear as directory, 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.

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

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.

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 functions. 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.