Simple PSF calculation script