Hi Andy,
Thank you so much for the advice! I think I manage to place customized electrodes to extract leadfield matrix. This is amazing!
I have some followup-questions regarding the conductivity values.
1) If I’m understanding this correctly, it’s possible to adapt the code to change the conductivity value of each voxel. Specifically, I’m looking into binaryMaskGenerate.m, where each mask matrix is of size (192*253*253) for subject1. I just want to double check that the (x,y,z) voxel coordinate has a certain conductivity (e.g. bone, air) if the value is 1 in the corresponding mask matrix, and 0 otherwise.
2) Although the simulation result only shows electric field and voltage in the brain, it seems that the entire MRI scan is included in the computation (i.e. the conductivities in other head regions is also taken into account). Is this understanding correct?
Thank you so much and hope you have a nice day!
Best,
Grace