Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
remove whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
marinang committed Jun 18, 2019
1 parent c71083c commit 71d0e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lauztat/calculators/asymptotic_calculator.py
Expand Up @@ -127,7 +127,7 @@ def pvalue(self, poinull, poialt=None, qtilde=False, onesided=True,

if qtilde and needpalt:
cond = (qobs > qalt) & (qalt > 0)

pnull_2 = 1. - norm.cdf((qobs + qalt) / (2. * sqrtqalt))
palt_2 = 1. - norm.cdf((qobs - qalt) / (2. * sqrtqalt))

Expand All @@ -139,7 +139,7 @@ def pvalue(self, poinull, poialt=None, qtilde=False, onesided=True,
palt = np.where(cond, palt, palt_2)

return pnull, palt


def expected_pvalue(self, poinull, poialt, nsigma, CLs=True):

Expand Down

0 comments on commit 71d0e07

Please sign in to comment.