[med-svn] [python-mne] 309/353: FIX : missing random_state passed to generate_noise_evoked
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:25:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to tag 0.4
in repository python-mne.
commit 4e4070145995f5274a88445b17e6fd6b67ba6957
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Wed Jul 25 10:22:33 2012 +0200
FIX : missing random_state passed to generate_noise_evoked
---
mne/simulation/evoked.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mne/simulation/evoked.py b/mne/simulation/evoked.py
index 09813fa..348bcfe 100644
--- a/mne/simulation/evoked.py
+++ b/mne/simulation/evoked.py
@@ -47,7 +47,7 @@ def generate_evoked(fwd, stc, evoked, cov, snr=3, tmin=None, tmax=None,
The simulated evoked data
"""
evoked = apply_forward(fwd, stc, evoked)
- noise = generate_noise_evoked(evoked, cov, fir_filter)
+ noise = generate_noise_evoked(evoked, cov, fir_filter, random_state)
evoked_noise = add_noise_evoked(evoked, noise, snr, tmin=tmin, tmax=tmax)
return evoked_noise
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list