Python Point Spread Function Definition Coding