diff --git a/Tracking/beam.py b/Tracking/beam.py index 9fde0f48a823688e8d71b0b2155f05eb94984269..1ffede319f0000feed6230ae57b5680897252b16 100644 --- a/Tracking/beam.py +++ b/Tracking/beam.py @@ -23,6 +23,7 @@ class Bunch: Bunch current in [A] alive : bool, optional If False, the bunch is defined as empty + Attributes ---------- mp_number : int @@ -249,7 +250,10 @@ class Beam: Methods ------ - init_beam() + init_beam(filling_pattern, current_per_bunch=1e-3, mp_per_bunch=1e3) + Initialize beam with a given filling pattern and marco-particle number + per bunch. Then initialize the different bunches with a 6D gaussian + phase space. """ def __init__(self, ring, bunch_list=None):