Brainstorm
  • Comments
  • Menu
    • Attachments
    • Versions
    • Raw Text
    • Print View
  • Login

Software

  • Introduction

  • Gallery

  • Download

  • Installation

Users

  • Tutorials

  • Forum

  • Courses

  • Community

  • Publications

Development

  • What's new

  • What's next

  • About us

  • Contact us

  • Contribute

Revision 12 as of 2016-02-22 22:30:09
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

MEG current phantom (CTF)

Authors: Francois Tadel, Elizabeth Bock

This tutorial explains how to use recordings from the CTF current phantom to test dipole fitting functions.

Contents

  1. Phantom description
  2. Download and installation
  3. Generate anatomy
  4. Access the recordings
  5. Import recordings
  6. Noise covariance
  7. Source modeling
  8. Dipole fitting with FieldTrip
  9. Digitized head points
  10. Scripting

Phantom description

[TODO] Pictures

[TODO] Nature of the dipole that is generated

[TODO] References

Download and installation

  • Requirements: You have already followed all the introduction tutorials and you have a working copy of Brainstorm installed on your computer.

  • Go to the Download page of this website, and download the file: sample_phantom.zip

  • Unzip it in a folder that is not in any of the Brainstorm folders (program folder or database folder)
  • Start Brainstorm (Matlab scripts or stand-alone version)
  • Select the menu File > Create new protocol. Name it "TutorialPhantom" and select the options:

    • "No, use individual anatomy",

    • "No, use one channel file per acquisition run (MEG)".

Generate anatomy

  • In the Matlab command window: type "generate_ctf_phantom".

  • This creates a new subject Phantom and generates the "anatomy" for this device: one volume and a few surfaces representing the geometry of the phantom.

    phantom_anat.gif

  • You can display the MRI and surfaces as presented in the introduction tutorials.

    phantom_mri.gif phantom_surfaces.gif

Access the recordings

  • Switch to the "functional data" view.
  • Right-click on the subject folder > Review raw file.
    Select the file format: "MEG/EEG: CTF (*.ds)"
    Select all the folders in: sample_phantom.

    phantom_review.gif

  • Each folder corresponds to one dataset:
    • emptyroom_20150709_01.ds: Phantom inside the MEG helmet, but not plugged in

    • phantom_20uA_20150603_03.ds: Phantom active, 23Hz, 20uA, [0,-1.8,4.9]cm

    • phantom_200uA_20150709_01.ds: Phantom active, 7Hz, 200uA, [0,-1.8,4.9]cm

  • The recordings were acquired on different days, the position of the phantom in the MEG helmet is not the same for the two runs. Left = 20uA, Right = 200uA

    phantom_registration.gif

  • For each of the three runs: right-click on "Link to raw file" > Switch epoched/continuous

    phantom_continuous.gif

Import recordings

Noise covariance

Source modeling

Dipole fitting with FieldTrip

Advanced

Digitized head points

The head points collected with the Brainstorm digitizer are usually copied to the .ds folders and imported automatically when loading the recordings. We decided not to include them in this example because in the case of this current phantom, there is no ambiguity in the definition of the anatomical fiducials. As this refined registration with the .pos files is not part of the standard CTF workflow, it will make it easier to compare with other programs.

For additional testing purposes, the .pos file for the phantom is included in the sample_phantom.zaip package, but you have to add it manually to the recordings.

  • Right-click on one of the channel files (20uA or 200uA) >
    Select the file format: "EEG: Polhemus"
    Select file: sample_phantom/phantom_20160222_01.pos


    phantom_pos.gif

  • Right-click on the channel file > MRI registration > Check.

    phantom_check.gif

Scripting

Generate Matlab script

Available in the Brainstorm distribution: brainstorm3/toolbox/script/tutorial_phantom.m

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01