This is an example of the nonlinear beam-beam kick in
amplitude and phase space, where the beam-beam kick is located
at a point with beta*=1m and alpha*=0. The
following equations are used to generate the motion:
Qm = 1/Tm
while running {
Rotate phase space by 2*pi*(Q + q*sin(2*pi*Qm*t))
xp -= (4*pi*xi/x) * [1-exp(-x*x)]
}
Be careful to note that points are only plotted every Tm points!