Python Point Spread Function Definition And Function