slactrac.gaussbunch_twiss¶
-
slactrac.gaussbunch_twiss(Beam_x, Beam_y, sz, sd, n_parts, szd=0)[source]¶ Generates a gaussian bunch with:
Parameters: Beam_x : float
slactrac.BeamParamsrepresentation of beam properties in x.Beam_y : float
slactrac.BeamParamsrepresentation of beam properties in y.sz : float
RMS moment in
.sd : float
RMS moment in
.Returns: bunch :
slactrac.Bunch.