numpy.random.rayleigh(scale=1.0, size=None)
Draw samples from a Rayleigh distribution. The and Weibull distributions are generalizations of the Rayleigh. Parameters:
scale : scalar Scale, also equals the mode. Should be >= 0. size : int or tuple of ints, optional Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned. Notes The probability density function for the Rayleigh distribution is