weibull distributed random number function

Description

# Function takes in a uniform random random number ( uniform_random ) , and converts it to a
# random variable from a Weibull distribution characterized by parmeters beta and tau .

def rand_weibull ( tau , beta , uniform_random ) :

output = tau ∗( ( −np . log(1.0 − uniform_random ) ) ∗ ∗ ( 1.0 / beta ) )

return output


https://matlab1.com/accelerating-parallel-image-reconstruction-using-random-projection/
https://www.taygeta.com/random/weibull.html

Reviews

There are no reviews yet.

Be the first to review “weibull distributed random number function”

Your email address will not be published. Required fields are marked *

Category: