Open CorentinWicht opened 4 years ago
Provided the X,Y,Z locations of the nodes inside the brain template, your function worked wonders:
NodesLoc = 1×3908 struct array with fields: X Y Z [ChN] = ept_ChN2(NodesLoc, 1) returned:
Best regards,
Corentin
Sorry, I've been away a little while.
That looks great! I hope it was also able to produce some meaningful results!
Dear Dr Mensen,
I was wondering whether you have an idea how I could generate a source-space neighbouring matrix to replace the ChN variable generated by ept_ChN2 ?
I am using the Measure Projection Toolbox for EEGLab (https://sccn.ucsd.edu/wiki/MPT) and with the function pr.headGrid(8) %8 being the spacing in mm, I generate a head grid:
Would you have any input?
Best regards,
Corentin Wicht