gemseo.uncertainty.distributions.base_settings.exponential_settings module#

Base settings for defining an exponential distribution.

Settings BaseExponentialDistribution_Settings(*, rate=1.0, loc=0.0)[source]#

Bases: BaseDistribution_Settings

The base settings of an exponential distribution.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:
  • rate (Annotated[float, Gt(gt=0)]) --

    By default it is set to 1.0.

  • loc (float) --

    By default it is set to 0.0.

Return type:

None

loc: float = 0.0#

The location of the exponential random variable.

rate: PositiveFloat = 1.0#

The rate of the exponential random variable.

Constraints:
  • gt = 0