In mathematics, a Barnes integral or Mellin–Barnes integral is a contour integral involving a product of gamma functions. They were introduced by Ernest William Barnes (1908, 1910). They are closely related to generalized hypergeometric series.
The integral is usually taken along a contour which is a deformation of the imaginary axis passing to the right of all poles of factors of the form Γ(a + s) and to the left of all poles of factors of the form Γ(a − s).