def lognormalRvForNormal(mu, sigma): ''' Define a lognormal RV by the mean and stdev of the underlying Normal distribution ''' return lognorm(sigma, scale=math.exp(mu))