gemseo.uncertainty.distributions.scipy.normal module#

The SciPy-based normal distribution.

class SPNormalDistribution(mu=0.0, sigma=1.0, settings=None)[source]#

Bases: SPDistribution

The SciPy-based normal 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:
  • mu (float) --

    The mean of the normal random variable.

    By default it is set to 0.0.

  • sigma (float) --

    The standard deviation of the normal random variable.

    By default it is set to 1.0.

  • settings (SPNormalDistribution_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 SPNormalDistribution_Settings