From: Ben Toomer on
Hi,

I am trying to write a script that generates a 2D Gaussian distribution that has a user specified encircled energy within a user specified pixel width - for example 80% energy within a radius of 3 pixels.

I have generated a gaussian and observed the effect of changing sigma and ensquared energy and also looked at applying a gaussian filter to a single pixel image. I am getting nowhere though!

Any help will be much appreciated!