Uniform_Around.to_uniform (function)
def to_uniform(self, value=None)
Expose the "frozen" Uniform distribution at a certain Uniform_Around.value as the central value.
- Uniform.low will be set to Uniform_Around.value - Uniform_Around.width / 2
- Uniform.high will be set to Uniform_Around.value + Uniform_Around.width / 2
Arguments
value
(float, default=None): value to use for the central value. If not provided, will default to Uniform_Around.value. If that is not set, then an error will be raised.
Returns
- Uniform object