Scipy: Speeding up calculation of a 2D complex integral Scipy: Speeding up calculation of a 2D complex integral numpy numpy