gemseo.uncertainty.distributions.scipy.exponential module#

The SciPy-based exponential distribution.

class SPExponentialDistribution(rate=1.0, loc=0.0, settings=None)[source]#

Bases: SPDistribution

The SciPy-based exponential distribution.

Examples

>>> from gemseo.uncertainty.distributions.scipy.distribution import (
...     SPDistribution,
... )
>>> distribution = SPDistribution("expon", {"loc": 3, "scale": 1 / 2.0})
>>> print(distribution)
expon(loc=3, scale=0.5)

Initialize self. See help(type(self)) for accurate signature.

Parameters:
  • rate (float) --

    The rate of the exponential random variable.

    By default it is set to 1.0.

  • loc (float) --

    The location of the exponential random variable.

    By default it is set to 0.0.

  • settings (SPExponentialDistribution_Settings | None) -- The settings of the distributions. If set, the other arguments are ignored. If None, the other arguments are used instead.

Settings#

alias of SPExponentialDistribution_Settings