gemseo.uncertainty.distributions.openturns.normal module#
The OpenTURNS-based normal distribution.
- class OTNormalDistribution(mu=0.0, sigma=1.0, transformation='', lower_bound=None, upper_bound=None, threshold=0.5)[source]#
Bases:
OTDistribution
The OpenTURNS-based normal distribution.
Examples
>>> from gemseo.uncertainty.distributions.openturns.distribution import ( ... OTDistribution, ... ) >>> distribution = OTDistribution("Exponential", (3, 2)) >>> print(distribution) Exponential(3, 2)
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.
transformation (str) --
A transformation applied to the random variable, e.g. \(\sin(x)\). If empty, no transformation.
By default it is set to "".
lower_bound (float | None) -- A lower bound to truncate the probability distribution. If
None
, no lower truncation.upper_bound (float | None) -- An upper bound to truncate the probability distribution. If
None
, no upper truncation.threshold (float) --
A threshold in [0,1] (see OpenTURNS documentation).
By default it is set to 0.5.