Hi dear researchers! I am an initial stage for the source localisation problem for the EEG. I need your kind guidance in the following direction:
I would like to select a single source with a given location, amplitude and orientation on a standard head model. Afterward, I aim to calculate the lead field matrix of this source and visualize it as a topomap in the sensor space. Then, I would like to investigate how the lead field matrix changes when we modify the location or orientation of the source. I have come across some helpful code snippets for MEG frameworks involving multiple sources, with the assistance of specific codes. However, I wish to undertake this process for EEG modelling from scratch: starting within one source on the standard head model.
Could you please share any useful resources/ideas/code snippets pertaining to this? I am eagerly looking forward to hearing from you soon. Many thanks for your valuable insights in this matter.
I don’t fully understand what you want to do, possibly because of some terminology confusion? Maybe this will help:
The leadfield matrix (also called “forward model”) gives the relationship between activity at source vertices (on the cortical surface) or voxels (in a brain volume) and electrodes/sensors. To get this matrix, you need to know both the locations of all your sensors/electrodes and the locations of the source space vertices.
In your question, you seem to want to start with an EEG electrode (you mention C4), and end up with values for all EEG electrodes (a topomap). It’s not clear (to me at least) how you would do that / what it would tell you. On the other hand, it is a common practice to start with a single source vertex or voxel and see how activity at that source would manifest on the sensors — it’s basically just extraction of one row of the leadfield matrix — and a topomap would be a sensible way to visualize that. So maybe that’s what you meant? Please clarify, and then we can try to give more concrete guidance.
Thank you for your response. I apologize for the misunderstanding. I corrected my mistake and updated my post. I would like to proceed with the following initial stages:
Place a source with a certain amplitude (i.e., xx nAm) and location (i.e., 2 cm below the EEG electrode/sensor C4) in a standard head model, with a current orientation pointing towards C4.
Calculate the lead field for these sources and plot it as a topographic map in the sensor space.
Investigate how the lead field changes when we modify the location or orientation of the source.