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.

Phantom description

[TODO] Pictures

[TODO] Nature of the dipole that is generated

[TODO] References

Download and installation

Generate anatomy

Access the recordings

Import recordings

The sinusoidal signal is generated by the CTF hardware on channel HDAC006. While there are some automatic trigger events generated by the system that can be used for importing (event type HDAC006), we will have a more precise event average if the events are detected again offline.

  1. Put the two raw links in the Process1 box, click Run > Events > Detect events above threshold: Event name=stim, Channel name=HDAC006, All file, Max thresh=0.8, units None, no filter, uncheck absolute value, check remove DC.

  2. Then add the process Events > Convert to simple event: Event names=stim, select Keep the middle of the events

  3. Import the stim event
  4. Put the two raw links in the Process1 box, click Run > Import recordings > Import MEG/EEG: Events: Subject name=Phantom, Event names=stim, All file, Epoch time=[-70,70]ms, uncheck Create one condition, check the last three boxes

  5. Add the process Remove DC offset: All file, Sensor types=MEG, check overwrite

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, not including it will make it easier to compare the workflow and results with other programs.

For additional testing purposes, the .pos file for the phantom is included in the sample_phantom.zip package, but you have to add it manually to the recordings. Do not use these points to refine automatically the registration: the fitting algorithm may fail finding the best rotation around the Z axis because the phantom is completely spherical, and the registration is already close to perfection.

Scripting

Generate Matlab script

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

Tutorials/PhantomCtf (last edited 2016-02-23 16:31:18 by ?ElizabethBock)