Python Point Spread Function Definition C