gemseo.uncertainty.distributions.scipy.weibull_settings module#
Settings for the SciPy-based Weibull distributions.
- Settings SPWeibullDistribution_Settings(*, location=0.0, scale=1.0, shape=1.0, use_weibull_min=True)[source]#
Bases:
BaseWeibullDistribution_SettingsThe settings of a SciPy-based uniform 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
- model_post_init(context, /)#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that's what pydantic-core passes when calling it.
- Parameters:
self (BaseModel) -- The BaseModel instance.
context (Any) -- The context.
- Return type:
None