Commit 2662b837 authored by Bedartha Goswami's avatar Bedartha Goswami
Browse files

typo in 'pvalue'

parent 21facf31
...@@ -6,7 +6,7 @@ A suite of functions that assist in carrying out the event-detection analysis ...@@ -6,7 +6,7 @@ A suite of functions that assist in carrying out the event-detection analysis
""" """
# Created: Thu May 26, 2016 03:50PM # Created: Thu May 26, 2016 03:50PM
# Last modified: Wed Jan 10, 2018 12:39AM # Last modified: Wed Jan 10, 2018 12:42AM
# Copyright: Bedartha Goswami <goswami@pik-potsdam.de> # Copyright: Bedartha Goswami <goswami@pik-potsdam.de>
import numpy as np import numpy as np
...@@ -153,7 +153,7 @@ def pvalues(Q, Qsurr, nwind, verbose=False, pbar=False): ...@@ -153,7 +153,7 @@ def pvalues(Q, Qsurr, nwind, verbose=False, pbar=False):
pvalue[i] = 1. - percentile(Qnull, Q[i], kind="weak") / 100. pvalue[i] = 1. - percentile(Qnull, Q[i], kind="weak") / 100.
_progressbar_update(prog_bar, i) _progressbar_update(prog_bar, i)
_progressbar_finish(prog_bar) _progressbar_finish(prog_bar)
return pvalues return pvalue
def holm(pvals, alpha=0.05, corr_type="dunn"): def holm(pvals, alpha=0.05, corr_type="dunn"):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment