EEG simulation steps

Dear Experts
I'm trying to simulate EEG data. Actually, I'm going to assign a focal source with arbitrary sinusoidal signal to an arbitrary region of head volume and Obtain the signals recorded at the electrodes on the scalp with an arbitrary electrodes' structure (cap).
I've almost followed all discussions about this subject like:

but I've couldn't do it. I've completely confused on doing process steps. I've done the steps as follow:
1- create protocol and subject (use default anatomy and use one channel file per acquisitions )
2- Set a default EEG cap
3-Edit the EEG cap to fit in on the subject’s head
4-Compute a forward model (whole cerebral volume)
5-Define some source activity, with the process "Simulate > Simulate generic signal.
6-Create a scout for which you want to set this activity (you can use the menu “Scout > New: Coordinates” to create a new ROI based on MNI coordinates)
7-Associate the signal with the scout and use this to simulate EEG or MEG recordings, with process “Simulate > Simulate recordings from scouts” (select the simulated signal in Process1, and select the scout in the process options)
Are these process steps right? Do I must to do additional steps that I left it?

Best Regards

Hi Morteza,

That seems about right. You need an anatomy with registered EEG electrodes. With that a forward model that relates source activity in the brain to the electrodes. You could do this with a forward model with just the cortical surface as sources usually.

If you did those steps you can check what kind of simulated EEG signals come from that and see the topological plots and the frequency plots to see if that 's more or less what you expect.

Kind regards,

Thanks dear Steven

How can I introduce an anatomy with registered EEG electrodes? could you please tell me which step?
I have another question, please. Can I compute leadfield matrix by BS and export that to the database and import the computed leadfield for another protocol?


Can you tell me what you exactly mean with this? Do you have an individual anatomy that you would like to use for your simulations?

You can compute a leadfield matrix and export that to for example matlab and import it again. Though the leadfield matrix is very specific to all the variables (anatomy, EEG locations, segmentation, BEM or 3 shell etc.). Why would you like to do that?

Kind regards,

At first, I want to create a sinusoidal focal source in default BS anatomy and simulate the achieved signals from it in electrodes.

I just want to move the focal source in several regions of whole head volume with the same anatomy and electrode positions (cap). Since computing leadfield is a Time-consuming process for each scenario and protocol, I want to compute the leadfield matrix once.


You can compute for example the bem surfaces from the standard anatomy model and it should look more or less like this in the anatomy folder

After that you can assign an EEG cap to it in the data tab and make your head model :slight_smile:

You could make one leadfield matrix and use different scouts to simulate your signal from. The leadfield matrix is not dependent on the scouts.

Kind regards,

1 Like

@SBeumer Thanks for your valuable help on the forum :slight_smile: