I've got a 2-dimensional array of data (x,y) consisting of floating point numbers. These numbers each represent brightness in a star field.
That said, I need to perform a function called "Auto Aperture" on the data based on a point that is clicked in the image/data. I need to execute the following:
Click on a star. App runs "Find" function (gaussian fit) to get coordinates of star and "centroid" (or axes) function and calculates 3 times the FWHM from centroid - and that's Star Radius. For Sky Radius value is 6x FWHM. Then it runs Aperture function using those values for Star Radius and Sky Radius.
I understand how to calculate the centroid and the aperture manually, given the proper radii, but I have no idea as to how any Guassian function applies to the pixel array. I mean, what does the Gaussian function actually find in relation to any other point? What does it mean in English?
If anyone could provide a bit of feedback on this, it would be most appreciated. Some info on practically deriving the FWHM would be nice too.