Dipole localization failes for high density meshes
In the case of EEG, with high tetra density mesh, the main error is this one:
...
dipole_38805.time = 0
dipole_38806.density = sparse
dipole_38806.time = 0
dipole_38807.density = sparse
dipole_38807.time = 0
Dune reported error: Dune::Exception [findEntityImpl:/home/juan/bst-duneuro/src/duneuro/duneuro/common/edgehopping.hh:84]: coordinate is outside of the grid, or grid is not convex
It seems that is related to the dipoles located outside the grid, but I have checked the location of these dipoles, and I ensure that they are all within the brain compartment (GM) Also, could you please explain quickly what this error means: grid is not convex? The source space is defined just by an independent set of dipole(s), is there any test to do on the source space (these dipoles) to avoid this error?