Skip to content

Commit

Permalink
Fix docstring types
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Mar 16, 2020
1 parent 8f57d38 commit 3168578
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/itmlogic/h0f.py
Expand Up @@ -16,7 +16,7 @@ def h0f(r, et):
Returns
-------
h0f1 : ???
h0f1 : float
Frequency gain value used for computing path loss.
"""
Expand All @@ -43,6 +43,6 @@ def h0f(r, et):
h0f1 = (
(1 - q) * h0f1 + q * 4.343 *
np.log((a[it] * x + b[it]) * x + 1)
)
)

return h0f1
4 changes: 2 additions & 2 deletions src/itmlogic/qerf.py
Expand Up @@ -11,8 +11,8 @@ def qerf(z):
Defined value to assess the probability of exceedance of a standardized normal random
variable.
Output
------
Returns
-------
qerfi1 : float
The standard normal complementary probability
Expand Down
8 changes: 4 additions & 4 deletions src/itmlogic/qerfi.py
Expand Up @@ -8,12 +8,12 @@ def qerfi(q):
Parameters
----------
q : list of floats(s)
q : list of float
Confidence levels for predictions (e.g. [0.01, 0.1, 0.5, 0.9, 0.99])
Output
------
qerfi1 : float
Returns
-------
qerfi1 : list of float
Inverse of the standard normal complementary probability
"""
Expand Down

0 comments on commit 3168578

Please sign in to comment.