slactrac.gaussbunch_sigmas

slactrac.gaussbunch_sigmas(sx, sxp, sy, syp, sz, sd, n_parts)[source]

Generates a gaussian bunch with RMS moments.

Parameters:

sx : float

RMS moment in x.

sxp : float

RMS moment in x'.

sy : float

RMS moment in y.

syp : float

RMS moment in y'.

sz : float

RMS moment in z'.

sd : float

RMS moment in \delta = \frac{p - p_0}{p_0}.

Returns:

bunch : slactrac.Bunch.