def logGaussian(x, mu, sigma):
    """
    Log of the value of the gaussian distribution with mean mu and
    stdev sigma at value x
    """
    return -((x-mu)**2 / (2*sigma**2)) - math.log(sigma*math.sqrt(2*math.pi))
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/util.py/logGaussian/original