system
(system)
July 8, 2014, 2:49pm
1
Hi all,
I'm interested in generating some simulated raw/epoched data. I've seen the
generate evoked example, but was curious if anyone has any code snippets
for generating raw or epoched datasets.
Thanks
Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140708/d5d3aa11/attachment.html
system
(system)
July 8, 2014, 8:34pm
2
hi Luke,
I'm interested in generating some simulated raw/epoched data.
are you asking if MNE implements the virtual brain project [0] ?
I've seen the
generate evoked example, but was curious if anyone has any code snippets for
generating raw or epoched datasets.
here a gist I wrote recently:
generate_epochs.py
import numpy as np
from scipy import signal
import mne
from mne import (read_forward_solution, read_cov, read_label,
pick_types_evoked, pick_types_forward, read_evokeds)
from mne.io import Raw
from mne.datasets import sample
from mne.time_frequency import iir_filter_raw, morlet
from mne.simulation import generate_sparse_stc
This file has been truncated. show original
it would be neat to add proper support to simulated epochs. Any volunteer?
Hope this helps,
Alex
[0] The Virtual Brain: Delivering practical results. For novel clinical applications.
system
(system)
July 9, 2014, 10:13am
3
FWIW you can use TVB to model the network dynamics and MNE to
analysis the results; here is an example for an audiovisual stimulus:
https://gist.github.com/maedoc/ce14a54236ac94028b25
Cheers,
Marmaduke
system
(system)
July 9, 2014, 12:38pm
4
Thank you both for the examples.
I wasn't aware of the virtual brain project, but now I'm curious if MNE
will become more heavily involved. It seems (from marmaduke's gist) that
the MEG is being handled with Brainstorm is that correct?
Thanks
system
(system)
July 9, 2014, 1:05pm
5
MEG is being handled with Brainstorm is that correct?
Only the MEG lead field was done with Brainstorm/OpenMEEG, but it can be done with MNE as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140709/f458a380/attachment.html