Missing dim filed after source analysis.

Michael Wibral michael.wibral at WEB.DE
Thu Oct 2 16:02:18 CEST 2008

Dear Listuser,

I am having a little problem with the beamformer (dics) tutorial. If I run first sourceanalysis on 'data' like this:

SourceDataSingleTrial=sourceanalysis(cfg, data)

applying precomputed filters to single trials (as in the tutorial) and then feed SourceDataSingleTrial to sourcestatistics like this:

SourceStats=sourceanalysis(cfg,SourceDataSingleTrial )

Then sourcestatistics complains about a missing filed 'dim'. I can fix this problem by creating the field SourceStats.dim by hand, giving the voxel conuts in each dimension [voxX voxY voxZ] and the code runs. However, the function might also need the number of trials or the like ???

Any idea what could be the reason for sourceanalysis not producing the dim field?


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 http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Michael Wibral.vcf
Type: text/x-vcard
Size: 443 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20081002/48098c95/attachment-0001.vcf>

More information about the fieldtrip mailing list