Point Spread Function Python Example For Loop