[SciPy-user] Creating a 2D matrix with a gausian hump?

James Carroll mrmaple at gmail.com
Thu Jun 22 08:37:20 CDT 2006


What's a good way to create a 2d gaussian kernel with numpy?

I'm trying to create a 9x9 matrix with 1.0 in the center, and 0.0 in
the corners, and a gaussian distribution from the center out.


More information about the SciPy-user mailing list