[med-svn] [python-mne] 135/376: more bug fix in permutation_cluster_t_test
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:22:21 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 98d54e99f643b5e72373b5f5f547221c830ff88c
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Tue Mar 15 13:15:50 2011 -0400
more bug fix in permutation_cluster_t_test
---
mne/stats/cluster_level.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/mne/stats/cluster_level.py b/mne/stats/cluster_level.py
index 098cde7..452c85c 100644
--- a/mne/stats/cluster_level.py
+++ b/mne/stats/cluster_level.py
@@ -82,6 +82,7 @@ def _pval_from_histogram(T, H0, tail):
elif tail == 0: # both tails
pval = 100.0 - pval
pval += np.array([percentileofscore(H0, -t) for t in T])
+ pval /= 100.0
return pval
--
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