simpm.dist
Probability distributions and fitting helpers used throughout SimPM.
The functions in this module wrap common SciPy distributions with a lightweight API tailored for simulation modeling. They make it easy to sample, plot, and fit distributions while keeping consistent return types for downstream components.
Functions
|
Fit a distribution on data and return a structured result. |
|
Fit a beta distribution to the provided data. |
|
Fit an exponential distribution with location fixed at zero. |
|
Fit a normal distribution to the provided data. |
|
Fit a trapezoidal distribution to the provided data. |
|
Fit a triangular distribution to the provided data. |
|
Create a beta distribution with validation. |
|
Create an exponential distribution with validation. |
|
Create a normal distribution with validation. |
|
Create a trapezoidal distribution with validation. |
|
Create a triangular distribution with validation. |
|
Create a uniform distribution with validation. |
Classes
|
Container for the results of fitting a distribution. |
|
Defines a beta distribution. |
Lightweight wrapper around SciPy distributions. |
|
|
Defines an empirical distribution based on observed data. |
|
Defines an exponential distribution. |
|
Defines a normal distribution. |
|
Defines a trapezoidal distribution. |
|
Defines a triangular distribution. |
|
Uniform distribution defined by lower/upper bounds. |