seampy

seampy (Scattering Equations AMplitudes with PYthon) is a Python package to solve the scattering equations and compute scattering amplitudes. The scattering equations are solved to high floating-point precision by means of elimination theory. The solutions are then used to build amplitudes in a variety of theories.

Installation

Installation is easy with pip:

pip install seampy

it also requires the phase space package lips:

pip install lips

alternatively the package can be cloned from github at https://github.com/GDeLaurentis/seampy.

Quick start

To get started computing amplitudes open an (interactive) python session and follow this simple example:

 1   import seampy, lips
 2
 3   # generate phase space point
 4   oParticles = lips.Particles(6)
 5
 6   # compute gauge or gravity amplitude: give helconf
 7   oYMAmp = NumericalAmplitude(theory="YM", helconf="pmpmpm")
 8   oYMAmp(oParticles)  # returns a complex number
 9
10   # compute scalar amplitude: give multiplicity of phase space
11   oBSAmp = NumericalAmplitude(theory="BS", multiplicity=6)
12   oBSAmp(oParticles)  # returns a complex number

Indices and tables