PercentUniform

PercentUniform(mean, perc, *args, **kwargs)[source]

Create a Parameter with a uniform distribution defined by a percentage width.

Parameters:
  • mean (float | Sequence[float]) – The mean of the distribution. Can be a sequence for a multi-valued Parameter.

  • perc (float | Sequence[float]) – The percentage deviation from the mean to either of the bounds. Bounds are calculated as mean +/- (perc * mean / 200).

  • **kwargs – Additional keyword arguments passed to the Uniform factory function.

Returns:

The created Parameter object.

Return type:

Parameter