Point Spread Function Python Definition Syntax Error