BrainStorm

Tutorial

Importing MEG data

In this tutorial we load a test run of MEG data in VSM/CTF format. For information on other supported formats, see the available documentation for the version of BrainStorm you are using.

  • Choose CTF in the drop down menu called Available native data formats.
  • You should see somDemo_av.ds on the Available Data Files. Associate it with a new subject, by clicking on Create New Subject. This will create a subject file on the subject folder (C:\BSTDemo\subject) called somDemo_av_Subject.
  • Leave the Trial Selection as 1:2 and the Time Range as -0.0496 0.2504. We will load both trials and the whole time range.
  • Check the box Remove DC offset and check Based on pretrigger. It is a good practice to normalize the MEG channels by removing bias terms.
  • Click Import
  • Press Close on the Importing data window after you see 'Finished Data Importation' message in the Message window.
  • If you don’t see the new data go to Data Manager -> Database -> Rescan database contents. This will force BrainStorm to scan the directories again and find the new data.
  • Click on the new data in Data Manager, SomDemo_av.ds\BrainStorm, and you will see they are composed of 2 trials.

A folder, BrainStorm, has been created in C:\BSTDemoData\MEGData\somDemo_av.ds that contains the MEG data in BrainStorm format. You can check the available BrainStorm documentation for details about the generated files; some interesting files are:

*Brainstormstudy.mat Study File
*channel.mat Channel File
*trial1.mat First Trial
*trial2.mat Second Trial

A folder called somDemo_av_Subjectds has been created in C:\BSTDemoData\Subject, because we instructed BrainStorm to associate the MEG data with a new subject. This folder contains the file:

*brainstormsubject.mat Subject File

A nice way to examine the contents of the generated *.mat files and get an insight into BrainStorm is to type uiload at the Matlab command prompt and load the files.

Previous  Contents   Next