[Numpy-discussion] Using normal()

Joris De Ridder Joris.DeRidder@ster.kuleuven...
Thu Apr 24 13:16:48 CDT 2008


On 24 Apr 2008, at 19:26, Rich Shepard wrote:

>> norm = 1 / (scale * sqrt(2 * pi))
>> y = norm * exp(-power((x - loc), 2) / (2 * scale**2))
>
>   Can do. So, scale would equate to width and loc to center, yes?

Scale is half the width between the inflection points, mind the factor  
of 2.

J.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the Numpy-discussion mailing list