File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- """Probability distributions used by PEtab."""
1+ """Probability distributions used by PEtab.
2+
3+ This module provides a set of univariate probability distributions
4+ that can be used for sampling and evaluating the probability density
5+ function (PDF) and cumulative distribution function (CDF).
6+ Most of these distributions also support log transformations and truncation.
7+
8+ Not all distributions that can be represented by these classes are valid
9+ as PEtab parameter prior or noise distributions.
10+ """
211
312from __future__ import annotations
413
Original file line number Diff line number Diff line change @@ -973,6 +973,7 @@ def prior_dist(self) -> Distribution:
973973 log = False
974974
975975 if cls == Exponential :
976+ # `Exponential.__init__` does not accept the `log` parameter
976977 if log is not False :
977978 raise ValueError (
978979 "Exponential distribution does not support log "
You can’t perform that action at this time.
0 commit comments