gemseo.uncertainty.distributions.base_settings.log_normal_settings module#
Base settings for defining a log-normal distribution.
- Settings BaseLogNormalDistribution_Settings(*, mu=1.0, sigma=1.0, location=0.0, set_log=False)[source]#
Bases:
BaseDistribution_SettingsThe base settings of a log-normal 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:
- Return type:
None
- mu: float = 1.0#
Either the mean of the log-normal random variable or that of its logarithm when
set_logisTrue.
- set_log: bool = False#
Whether
muandsigmaapply to the logarithm of the log-normal random variable. Otherwise,muandsigmaapply to the log-normal random variable directly.
- sigma: PositiveFloat = 1.0#
Either the standard deviation of the log-normal random variable or that of its logarithm when
set_logisTrue.- Constraints:
gt = 0