Digitized electrode positions

Hi Brainstorm team,

Some of our study participants have CapTrak data, some don't. We measure EEG at three time points (Pre, Post, Follow up). Some have MRI, others don't. This presents two scenarios and a couple of questions:

Scenario 1: Lets say we have CapTrak data for someone for only for 1/3 sessions (with an MRI). Question 1: would it be better to apply these CapTrak channel locations from one session to the other two sessions or instead use the standard electrode positions with manual adjustments to better fit the MRI?

Scenario 2: if we have CapTrak data for someone without MRI (standard ICBM152 2023b anatomy). Question 2: the person's head shape/size may be different than standard anatomy, meaning that when the CapTrak-digitized electrodes are registered to standard MRI, the electrodes may be inside or far away from the standard head.
Since we digitized the electrode positions on the participant's head, we know the location of the channels on their head, suggesting to me that these positions shouldn't be altered other than projecting the electrodes to the surface (to correct for any head size/shape differences). Do you agree with this logic?

Thank you all!

@Marc.Lalancette, any advise for this scenario?

Since you have head points, you could try warping the Default anatomy for this Subject, to have a pseudo-Subject anatomy.

Scenario 1: Assuming you're using an electrode cap, I believe the digitized positions would be much more accurate than the standard positions, even if there is a small shift between sessions.

Raymundo & Marc,

Thank you for your responses.

Yes, we are using 96-channel ActiCap. Your suggestion makes sense to me that I should use another session's electrode locations from this participant before I used standard electrode layout. Therefore for this person, I will apply one session's CapTrak electrode positions to another session's (the one that had bad CapTrak data).

I will look into how to warp default anatomy. I was unfamiliar with this technique. I will get back to you about the results I obtain.

Thank you both for the help!

Is it necessary to generate a new head model for the session that is using another session's electrode positions? Would it be an identical head model, or is it better to generate a new one? I tried looking through the tutorial but did not find the answer.
My assumption was that I needed to generate to separate head models, but I wanted to confirm.


The head model depends only on the Anatomy and the Channel file (sensors and their location with respect to the anatomy). Thus, it is possible to copy the head model for the sessions using the same channel for the same subject, option Copy to other folders within the right-click menu of the head model.

1 Like


I followed the tutorial for warping (https://neuroimage.usc.edu/brainstorm/Tutorials/TutWarping#Edit_the_initial_MRI.2FMEG_registration).
First question: is the first paragraph (and the steps prior to the actual warping section) relevant for sEEG, or is this just for MEG helmet with Polhemus digitizer? I see head points on this standard anatomy, but I'm not sure if they're somehow taken from CapTrak data or they are from the standard brain. If from standard brain, I should not edit them and can proceed with warping?

These are the head points I'm referring to (unwarped standard brain):

This is what CapTrak positions look like after import without editing anything (on unwarped standard brain):

This is what scalp/cortex looks like after warping:

And this is what the CapTrak electrodes look like on the warped scalp (without any further modifications after warp):

They seem to look better in the back, but I'm wondering if, assuming I did not need to do anything with the head points (question above), is it okay from here to project electrodes to surface and move forward with processing?

Thank you,

Do you mean the section ** Prepare the anatomy template**?
This step is done to ensure the best alignment between the Default anatomy and the digitized fiducial points. If you use the same fiducial definition, nothing else is needed. Before proceeding with the warping, check the alignment between fiducial sets: right-click on the channel file > MRI registration > Check. If improvement is needed, select Edit.

MRI manually registration:

Head points come acquired data, not from the Default anatomy, thus yes these points are from CapTrak.