Create noise as a multivariate Gaussian.
The spatial covariance of the noise is given from the cov matrix.
Evoked
, Epochs
, or Raw
Instance to which to add noise.
Covariance
The noise covariance.
None
| array-likeIIR filter coefficients (denominator).
None
| int
| instance of RandomState
A 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.
str
| int
| None
Control 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.
Notes
Only channels in both inst.info['ch_names']
and
cov['names']
will have noise added to them.
This function operates inplace on inst
.
New in version 0.18.0.
mne.simulation.add_noise
#Simulate raw data using subject anatomy
Generate simulated source data