orbit.bunch_utils#
Functions#
|
Collects attributes from a PyOrbit Bunch across all MPI ranks and returns it as a dictionary. |
|
Saves the collected bunch attributes to a specified directory. |
|
Loads the bunch attributes from a specified directory containing NumPy binary files. :type input_dir: |
Classes#
This routine adds id numbers to particle in a bunch. |
|
|
Protocol for file handlers to read/write bunch data. |
|
Handler implementing the FileHandler protocol for NumPy binary files. This handler will create two files in the directory passed to the constructor: - coords.npy: A memory-mapped NumPy array containing the bunch coordinates. - attributes.npz: A NumPy archive containing data related to the synchronous particle and other bunch attributes. |
Class Inheritance Diagram#
