Mesh space vs. voxel space problem

Paul Czienskowski paul_c at GMX.DE
Wed Aug 18 10:15:23 CEST 2010

  Okay, seems to be solved - at least a little. I now saw that the grid
is created from the electrodes positions and not by the mesh points.
I'll have to align these to get it right.


Am 18.08.2010 10:10, schrieb Paul Czienskowski:
>  Dear fieldtrippers,
> when looking at the points of the mesh generated  for the BEM
> generation there was something I stumbled over: There are points with
> negative coordinates, so the mesh seems to be generated in some other
> space than the voxel system (maybe just translated in some way?). This
> wouldn't be a great problem if the ft_dipolefitting wasn't working in
> voxel but in mesh space, because when searching the valid dipole
> positions in prepare_dipole_grid on lines 432-434 the bounding_mesh
> function returns a volume full of zeros since the grid positions don't
> lie within the volume. I'm using the 20100612 version of fieldtrip and
> running ft_dipolefitting with automatic grid generation. Is  there
> anything I can do about this besides creating the grid on my own?
> Thanks in advance,
> Paul

Paul Czienskowski
Max Planck institute for human development
Björnsonstr. 25
12163 Berlin

Tel.: (+49)(0)30/221609359
Handy: (+49)(0)1788378772

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