Back to the main page.

Bug 2122 - fucked up channel order in ft_prepare_layout for subselection of channels

Reported 2013-04-18 15:28:00 +0200
Modified 2014-03-12 12:21:37 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jörn M. Horschig
Depends on:
See also:

Jörn M. Horschig - 2013-04-18 15:28:11 +0200

Created attachment 457 layoutplot of subselected channels I got data from before and after an annual service, so different channels across participants. Before, I was always correcting the channelorder manually, but for some final, additional analysis I thought 'let's rely on FieldTrip'... smart idea :) I got 20 subjects, compute TFR and then call ft_freqgrandaverage. That function seems to correct for the different channel order, but the plotting still look weird. I selected a subset of parieto-occipital channel and wondered why my topoplot shows channels all over the place. Turns out, something is going wrong with estimating the channel position, see attachement. I can provide data and code if needed

Jörn M. Horschig - 2013-04-18 15:29:01 +0200

oh, and I use CTF275.lay ;)

Jörn M. Horschig - 2013-04-18 16:20:22 +0200

it's probably all related to the scaling of the outline, just wonder why. I think this didn't happen before

Jörn M. Horschig - 2013-04-19 08:16:06 +0200

svn ci ft_prepare_layout.m -m "bugfix #2122 - channels are selected after outline is drawn to ensure correct positioning" Sending ft_prepare_layout.m Transmitting file data . Committed revision 8059.