Generate noisy evoked data.
Note
No projections from info will be present in the
output evoked. You can use e.g.
evoked.add_proj or
evoked.set_eeg_reference
to add them afterward as necessary.
ForwardA forward solution.
SourceEstimate objectThe source time courses.
mne.InfoThe mne.Info object with information about the sensors and methods of measurement. Used to generate the evoked.
Covariance object | NoneThe noise covariance. If None, no noise is added.
intNumber of averaged epochs (defaults to 30).
New in version 0.15.0.
None | arrayIIR filter coefficients (denominator) e.g. [1, -1, 0.2].
None | int | instance of RandomStateA seed for the NumPy random number generator (RNG). If None (default),
the seed will be obtained from the operating system
(see RandomState for details), meaning it will most
likely produce different output every time this function or method is run.
To achieve reproducible results, pass a value here to explicitly initialize
the RNG with a defined state.
Whether to use cortical patch statistics to define normal orientations for surfaces (default True).
New in version 0.15.
str | int | NoneControl verbosity of the logging output. If None, use the default
verbosity level. See the logging documentation and
mne.verbose() for details. Should only be passed as a keyword
argument.
Evoked objectThe simulated evoked data.
See also
Notes
To make the equivalence between snr and nave, when the snr is given instead of nave:
nave = (1 / 10 ** ((actual_snr - snr)) / 20) ** 2
where actual_snr is the snr to the generated noise before scaling.
New in version 0.10.0.
mne.simulation.simulate_evoked#Source localization with equivalent current dipole (ECD) fit
Cortical Signal Suppression (CSS) for removal of cortical signals