[FieldTrip] Explanation about the Fieldtrip-SimBio pipeline.

Ioannis Zorzos gianof at hotmail.com
Tue Nov 2 13:35:48 CET 2021


Dear all,

Recently, I came across something peculiar regarding the Leadfield matrix and the transfer matrix of the conduction volume model, created after following the Fieldtrip-SimBio pipeline.

The Leadfield matrix (from now on called LF) that is produced (which is a field inside the leadfield struct created from the ft_prepare_leadfield function) is a {1 x N_s} cell array, where N_s is the number of sourcepoints specified during the creation of sourcemodel. Assuming that all the source points are “inside” the brain (i.e. the “inside” field of the leadfield struct would be a column  {N_s x 1} full of ones), then LF contains N_s  cells, each one being of size {N_ch × 3 double}, where N_ch is the number of channels/electrodes used.

I noticed that the first row of each of these cells from the LF (i.e. for the first channel/electrode) for each of the source points is zero. This is obviously due to the transfer matrix, of which the first row is also comprised of zeros, and is created with the sb_transfer.m function. In this function, the creation of the transfer matrix clearly starts from the second in order channel/electrode (the for loop starts from the second channel).

Is there a reason for this? Shouldn’t it start from the first channel?
Thank you in advance.

Sincerely,
Zorzos Yiannis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211102/44fe9c47/attachment.htm>


More information about the fieldtrip mailing list