Samples.to_uniform (function)


def to_uniform(self, sigma=1.0)

Convert the Samples distribution to a Uniform distribution via a Gaussian distribution.

Under-the-hood, this calls Samples.to_gaussian and then calls Gaussian.to_uniform with the requested value of sigma.

Arguments

  • sigma (float, optional, default=1.0): the number of standard deviations to adopt as the lower and upper bounds of the uniform distribution.

Returns