3d Point Spread Function In Python