Python Point Spread Function Optimization Practice