BunchDict#

class orbit.bunch_utils.BunchDict[source]#

Bases: TypedDict

A dictionary containing the attributes of a PyOrbit::Bunch object.

coords#

The coordinates (x, px, y, py, z, dE) of the particles in the bunch.

Type

NDArray[np.float64]

sync_part#

The attributes of the synchronous particle.

Type

SyncPartDict

attributes#

Other attributes of the bunch.

Type

dict[str, np.float64 | np.int32]