If so, why not use ``scipy.interpolate.trapz``?  Probably something special going on.