Python Point Spread Function Definition Programming