Skip to content

Commit

Permalink
bug in statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
dokato committed Aug 19, 2015
1 parent 9f5da24 commit cb1a82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectivipy/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ def __calc_multitrial(self, data, method='yw', order=None, fs=1, resolution=None

def significance(self, data, method, order=None, resolution=None, Nrep=10, alpha=0.05, **params):
if len(data.shape)>2:
signific = self.bootstrap(data, method, order=order, resolution=resolution, Nrep=10, alpha=alpha, **params)
signific = self.bootstrap(data, method, order=order, resolution=resolution, Nrep=Nrep, alpha=alpha, **params)
else:
signific = self.surrogate(data, method, order=order, resolution=resolution, Nrep=10, alpha=alpha, **params)
signific = self.surrogate(data, method, order=order, resolution=resolution, Nrep=Nrep, alpha=alpha, **params)
return signific

def bootstrap(self, data, method, order=None, Nrep=10, alpha=0.05, fs=1, **params):
Expand Down

0 comments on commit cb1a82f

Please sign in to comment.