from math import pi as PI
from math import exp


def gauss(x, sig):
	"""
	Samples the value at a single point from the Gaussian Curve, parameterized
	using the sig value as its sigma.
		x   - Relative positioning along the curve, which is centered at x = 0.
		sig - Sigma parameter.
	"""
 
 
	return exp(-(x ** 2 / 2 * sig ** 2)) / (2 * PI * sig ** 2)