Back to the main page.

Bug 471 - fix the inside detection for a dipole grid in case of a halfspace model

Reported 2011-02-03 22:03:00 +0100
Modified 2011-02-23 13:50:59 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Cristiano Micheli
Depends on:
See also:

Robert Oostenveld - 2011-02-03 22:03:54 +0100

the inside and outside detection for dipoles and a halfspace model should be based on - inside if it is on the "tissue" side of the plane - outside if it is on the "air" side of the plane assuming that all dipole points in the grid are inside is incorrect. The problem is in ft_prepare_sourcemodel where it now states if ~isfield(grid, 'inside') && ~isfield(grid, 'outside') if ft_voltype(vol, 'infinite') || ft_voltype(vol, 'halfspace') % an empty vol in combination with gradiometers indicates a magnetic dipole % in an infinite vacuum, i.e. all dipoles can be considered to be inside grid.inside = 1:size(grid.pos,1); grid.outside = [];

Robert Oostenveld - 2011-02-23 13:50:59 +0100

I closed all bugs that were in the RESOLVED/FIXED or otherwise RESOLVED state.