distributions

distributions#

Module for describing distributions of simulation parameters.

Functions

from_values(values[, weights, ensemble_mean])

Return a distribution from user-defined values and weights.

gaussian(standard_deviation, num_samples[, ...])

Return a distribution with values weighted according to a (multidimensional) Gaussian distribution.

uniform(low, high, num_samples[, endpoint, ...])

Return a distribution with uniformly weighted values evenly spaced over a specified interval.

validate_distribution(distribution)

type distribution:

Union[BaseDistribution, Iterable, Number]

Classes

BaseDistribution()

Base object for defining distributions of simulation parameters.

DistributionFromValues(values[, weights, ...])

EnsembleFromDistributions([distributions])

Base object for ensembles based on distributions.

MultidimensionalDistribution(distributions)

A multidimensional distribution composed of multiple lower-dimensional distributions.