[Numpy-discussion] Generating Bell Curves (was: Using normal() )

Charles R Harris charlesr.harris at gmail.com
Fri Apr 25 19:39:30 EDT 2008


On Fri, Apr 25, 2008 at 1:25 PM, Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> On Fri, 25 Apr 2008, Charles R Harris wrote:
>
> > You can use something like f(x) = (1-x**2)**2 , which has inflection
> > points and vanishes at +/- 1. Any of the B-splines will also do the
> trick.
>
> Chuck,
>
>   Thank you. I need to make some time to understand the B-splines to use
> them appropriately. Unfortunately, my mathematical statistics learning was
> many years in the past ... but we had moved ahead of writing on clay
> tablets
> by that time. Not needing to retain that knowledge for many years means it
> was replaced by more pressing current knowledge. The B-splines do look
> promising, though.
>

Here's a B-spline approximation to a Gaussian:
http://www.doc.ic.ac.uk/~dfg/AndysSplineTutorial/BSplines.html

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080425/770e5076/attachment.html>


More information about the NumPy-Discussion mailing list