Tutorial 4: Importing MEG recordings

We are now going to import the recordings you downloaded in the previous tutorial (sample_ctf): the averaged reponses to electric stimulation of the thumbs on both hands, 400 trials for each hand. Epochs Stimulus occurs at time 0.

Note that the recordings used in this example have already been pre-processed, epoched and averaged, so that you could go faster to the source analysis. The full process from the raw continuous recordings to the averaging is documented in the three tutorials in the section ?Process continuous recordings. But please keep on reading the tutorials in the way they are listed on the tutorials page. Be patient, you'll get there.

Import recordings

1. Select the TutorialCTF protocol, and go to the Functional data (sorted by subject) view

2. Right-click on Subject01, select Import MEG/EEG...

3. A condition was created, called after the filename. It contains three items:

Channel file

Let's explore what you can do with the first file. Right-click on the CTF channels file and try all the menus.

popupChannel.gif

The menus in the Display menu display the same thing, but in a different way. You can add the scalp (or cortex) surface easily with the toolbar in the Surfaces tab, in the main window (Add a surface "+" button).

channelCtf.gif channelHelmet.gif channelMeg.gif

Display a table with all the information about the individual channels. You can use this window to view and edit the channels properties.

channelEdit.gif

The channel file describes each channel separately, with the following information:

For the moment, the registration between anatomy and sensors is based only on three points that are manually positioned (nasion and ears). This rough alignment technique is quite robust but also very unprecise, and depends on the precision with which the people defined the fiducials, both during the data acquisition and on the MRI slices. For this reason, it is sometimes necessary to correct the position of the sensors.

There is nothing to change here, but remember to always check the registration scalp/sensors just after you import MEG or EEG recordings.

Before locking your subject into that dark shielded room, when you acquire the position of some reference points with a magnetic tracking system (eg. Polhemus Isotrak), it is a good practice to acquire also many other points at the surface of the head. It does not take a very long time but provides very valuable information to register properly the MEG sensors with the MRI and surfaces. The more head points the better, with a minimum of 50 or 100, avoiding the softer parts of the head (cheeks, base of the neck, ears, eyes) because they may have different shapes when the patient is sitting on the MEG chair and when he/she is laying down in the MR scanner. Always insist on the nose, it provides a really good indicator of the orientation of the head.

Note: The digitization of the head shape and the head localization coils with a Polhemus device can be done with Brainstorm: see the digitize tutorial.

Some other fields are present in the channel file that cannot be accessed with the Channel editor window. You can explore those other fields with the File menu, selecting View file contents or Export to Matlab. As we saw in previous tutorial.

channelViewMat.gif

Some fields you may find there:

MEG recordings

To understand what is stored in the two other files: double-click on the first, then double-click on the second.

recordingsErp.gif recordingsStd.gif

Now have a look to what is inside a recording file: right-click on Right/ERP > File > View file contents.

Managing conditions

You have already imported the average response for the stimulation of the right thumb. Let's also import the left thumb, but proceeding in a slightly different way.

  1. Right-click on Subject01 > Add condition > Left

  2. Import the second file (somMGYO-18av.ds) in the Left condition. Same options as before.

  3. Rename the recordings in ERF and Std.

  4. Switch to the Functional data (sorted by condition), with the third button in the explorer toolbar.

    dbSortByCond.gif

  5. This view is not very useful when you have one subject and two conditions. But remember this option for later, it will be very useful when you will have 60 subjects and 12 conditions per subject in your database.

Feedback





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


Next

Everything is now loaded in TutorialCTF protocol : subject anatomy (MRI and surfaces), recordings and channels description. The next tutorial presents all the tools available to ?explore the recordings.

Tutorials/TutImportRecordings (last edited 2013-11-09 00:02:29 by agrippa)