Tutorial 15: Import epochs

Authors: Francois Tadel, Elizabeth Bock, Sylvain Baillet

We can consider that our datasets are clean from any major artifact. We will now proceed to the analysis of the brain signals we recorded in response to the auditory stimulation. There are two major types of processing workflows for MEG/EEG, depending on whether we are dealing with an event-related paradigm or a steady-state/resting-state study.

This tutorial will only focus on the event-related case: series of stimuli are sent to the subject and we have the corresponding triggers marked in the recordings. We will base our analysis on these triggers, import short epochs around each of them and average them. You will find in the advanced tutorials a scenario of MEG resting-state analysis.

Import in database

Until now, we've only been looking at data that was read from continuous files. The raw file viewer provides rapid access to the recordings, but many operations can only be applied to short segments of recordings that have been imported in the database. We will refer to these as "epochs" or "trials".

One new folder appears in Subject01. It contains a channel file and two trial groups.

Review the individual trials

After reviewing the continuous file with the "columns" view (channels one below the other) it can be useful to also review the imported trials with the "butterfly" view (all the channels superimposed).

To manually tag a trial as bad, you have three options:

Run #02

Repeat the same operations for the second dataset:

Advanced

Epoch length

In this tutorial, we decided to work with very short epochs (600ms only) so that all the analysis would run on most computers, including personal laptops. For any type of frequency analysis on the recordings, this will probably be too short. When processing your own recordings, you should probably increase the size of the epochs beyond the segment that you are actually planning to study.

Example of processes that will require longer epochs:

Advanced

On the hard drive

Right-click on any imported epoch > File > View file contents:

Structure of the imported epochs

File history

Right-click on any imported epoch > File > View file history:

List of bad trials

Useful functions








Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/Epoching (last edited 2015-11-09 16:50:33 by FrancoisTadel)