loreta2fieldtrip output

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon May 7 22:17:11 CEST 2007

Hi Christian

On 24 Apr 2007, at 14:22, Christian Rosenau wrote:
> this is the struct which is created by loreta2fieldtrip
>           dim: [37 44 36]
>         xgrid: [1x29 double]
>         ygrid: [1x34 double]
>         zgrid: [1x24 double]

> and this is the error message
> ??? Error using ==> fieldtrip-20070402\private\grid2transform
> dimensions do not correspond

There is a problem with your data as outputted by loreta2fieldtrip.

The data specifies that the dimension is 37x44x36, but at the same
time the volume coordinate axes (xgrid, ygrid, zgrid) are specified
as 29x34x24. That does not correspond. Please try to debug the code
in loreta2fieldtrip, since there the format (and dimensions) of the
Loreta files is hardcoded.


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.

More information about the fieldtrip mailing list