import numpy
import matplotlib.pyplot as pyplot

def gamma_dist(mean, coeffvar, N):
	scale =
1.0 / (coeffvar * N)
	return scale * numpy.exp(-(mean - scale) ** 2 / (2 * coeffvar))

def gamma_dist_pdf(mean, coeffvar, N):
	scale = 1.0 / (coeffvar