Commit ada8073e authored by Thomas Vincent's avatar Thomas Vincent

restore previous gaussian implementation, as it is making test fails

To be changed later and update the tests at the same time.
parent 446be24d
......@@ -70,5 +70,5 @@ def gaussian(x, area, center, sigma):
:param float sigma:
:rtype: numpy.ndarray
"""
return ((area / (_SQRT_2_PI * sigma)) *
return (area * (1. / (_SQRT_2_PI * sigma)) *
numpy.exp(-0.5 * ((x - center) / sigma) ** 2))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment