[med-svn] [python-mne] 125/376: fix in plot_sensor_permutation_test.py
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:22:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to annotated tag v0.1
in repository python-mne.
commit 41e2cd3f78e14f1030ca8625e70b5fc8f29df165
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Sat Mar 12 14:40:21 2011 -0500
fix in plot_sensor_permutation_test.py
---
examples/stats/plot_sensor_permutation_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/stats/plot_sensor_permutation_test.py b/examples/stats/plot_sensor_permutation_test.py
index c0a0386..0d630b5 100644
--- a/examples/stats/plot_sensor_permutation_test.py
+++ b/examples/stats/plot_sensor_permutation_test.py
@@ -52,7 +52,7 @@ temporal_mask = np.logical_and(0.04 <= times, times <= 0.06)
data = np.squeeze(np.mean(data[:, :, temporal_mask], axis=2))
n_permutations = 50000
-p_values, T0, H0 = permutation_t_test(data, n_permutations)
+T0, p_values, H0 = permutation_t_test(data, n_permutations)
significant_sensors = picks[p_values <= 0.05]
significant_sensors_names = [raw.info['ch_names'][k]
--
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