Are you talking about additions to the Qbasic code to do this? Calculation of the psf is not necessary. The simple method is to find the marginal sums in x and y, find the center, and then march down until you reach the half-power points on both sides. That gives you the fwhm to less than a pixel accuracy. Arne