Many pmcx simulations currently fail because the optodes are aligned the scalp surface, which is smooth, but its vertices often not inside a scalp voxel (pmcx requirement). This little fix re-aligns the optodes before calling pmcx to their closest scalp voxel.
Many pmcx simulations currently fail because the optodes are aligned the scalp surface, which is smooth, but its vertices often not inside a scalp voxel (pmcx requirement). This little fix re-aligns the optodes before calling pmcx to their closest scalp voxel.