Point Spread Function Python Practice Code