fixed bug in sourceanalysis w.r.t. channel ordering

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon Jul 7 14:43:59 CEST 2008

Dear all,

Thanks to the sharp eye of one of the FieldTrip users, a bug was
discovered in SOURCEANALYSIS. The bug caused souercanalysis to result
in nonsense results if the channel ordering in the data (i.e.
data.label) and the channel ordering in the sensor definition
(grad.label or elec.label) was inconsistent. Missing channels in
either one were treated correctly, but a different ordering was not
treated correctly.

The bug did not affect MEG data, hence it was not affecting MEG users
in the Donders centre. It might be that people doing source
reconstruction on EEG data are affected by the bug. The bug only
applied to the SOURCEANALYSIS function, not to the DIPOLEFITTING

I have just fixed the bug. External users should download the latest
daily version from the ftp server, which will be copied to the ftp
server this evening around 22h CET. Sorry for the inconvenience that
it might have caused.

best regards.

Robert Oostenveld, PhD
F.C. Donders Centre for Cognitive Neuroimaging
Radboud University Nijmegen
phone: +31-24-3619695

The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list