simulate artefact-free continuous EEG data

External Email - Use Caution

Dear MNE community,
Is there a simple way to simulate clean resting-state EEG data with N
electrodes?

Kind regards,
Davide Aloi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20181004/63c297f9/attachment.html

External Email - Use Caution

Hi Davide,

You probably need to specify what feature (oscillation, 1/f spectrum etc)
you precisely want to simulate.

Else you you can check this:
https://martinos.org/mne/dev/auto_examples/io/plot_objects_from_arrays.html

Hope that helps

JR

External Email - Use Caution

Thank you JR King.
I want to calculate some functional connectivity measures and assess the
effect of electrodes interpolation on these measures.
What approach would you suggest?

External Email - Use Caution

Check the mne.simulation module:
https://martinos.org/mne/stable/auto_examples/simulation/plot_simulate_raw_data.html

This shows how to create random sources and retrieve MEG signals.

Note that it may not be the most matured part of MNE, so... good luck :wink:
JR

JR

Please modify the data_fun function in
https://martinos.org/mne/stable/auto_examples/simulation/plot_simulate_raw_data.html
And create secnarios of different statistical dependencies between the
four sources, like same or different phase betwen them.

Since electrode interpolation introduce zero lag connectivity, I think
connectivity metrics like phase locking which are sensitive to zerolag
will be effected more in comparsion to metrics like imaginary coherence
which are insensitive to zero lag.

Hope this help

Sheraz