Hi, now I have the positions of the volumes and the positions and orientations of all sensors, can I calculate the LeadField matrix by calling the function in Brainstorm? Is there a script to refer to?
Hi @hyb
Can you give more context for your model? Is this MEG?
Yes, you can use scripts to compute your LF, but you must understand how the data is organized.
You can refer to these tutorials:
https://neuroimage.usc.edu/brainstorm/Tutorials/HeadModel
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting
Or share more information to help you.
I'm very grateful to see your reply. I would like to simulate the EEG signals with our neuronal network model. I now have the MRI structure and the MNI positions of our own voxels, as well as the locations of the EEG electrodes, the locations of EEG sensors are in sensor coordinate system, and I would like to know how to compute the LF matrix in a script way in brainstorm. Thank you!