Skip to content

Commit

Permalink
Merge pull request #74 from virocon-organization/issue#72
Browse files Browse the repository at this point in the history
Issue#72
  • Loading branch information
ahaselsteiner committed Aug 3, 2020
2 parents eca668f + d7ea107 commit ee6d8e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions docs/jointdistribution_and_contours.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,9 @@ define ``shape``, ``loc``, and ``scale``.
Say we want to create a Weibull distribution with ``shape=1.471``, ``loc=0.8888``,
and ``scale=2.776`` (as in the model proposed by Vanem and Bitner-Gregersen).

We first create the parameters::
We first create a WeibullDistribution object::

shape = ConstantParam(1.471)
loc = ConstantParam(0.8888)
scale = ConstantParam(2.776)


And then create our Weibull distribution::

dist0 = WeibullDistribution(shape, loc, scale)
dist0 = WeibullDistribution(shape=1.471, loc=0.8888, scale=2.776)

We also need to create a dependency tuple for creating a
:class:`~viroconcom.distribution.MultivariateDistribution` later on.
Expand Down
2 changes: 1 addition & 1 deletion viroconcom/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.3.13'
__version__ = '1.3.14'

0 comments on commit ee6d8e9

Please sign in to comment.