I’m working on a research related to EEG data, and I want to simulate EEG signals using MNE. Is it possible?
Hi,
There’s no option to change the number of electrodes. And its accessing a dataset to generate the signal. Can you give me more details on how I can change the parameters and alter it according to my needs?
Please start with the introductory tutorials to familiarize yourself with MNE. The number of electrodes is provided in the Info
and Forward
objects defined in this cell:
fname_info = meg_path / "sample_audvis_raw.fif"
info = mne.io.read_info(fname_info)
tstep = 1 / info["sfreq"]
And this cell:
fwd_fname = meg_path / "sample_audvis-meg-eeg-oct-6-fwd.fif"
fwd = mne.read_forward_solution(fwd_fname)
src = fwd["src"]
For this example sake, an MEG signal simulation is done using the Info
in fname_info
and the forward model in fwd_fname
. In your case, you could create the Info
with mne.create_info
or load it from one of your EEG files; and you still have to create the forward operator for your subject (or template) anatomy.
Mathieu
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.