ParticlePhaseSpace
This code aims to serve as a general purpose python library for importing, analysing, manipulating particle phase space data.

The code can be installed from PyPI:
pip install ParticlePhaseSpace
If you want to develop the code, there are some additional dependencies which are listed in the dev_requirements.txt file in the github repository.
Contents:
- Examples
- Basic Example
- Writing a new data loader
- Reading IAEA phase space
- Writing a new data exporter
- Plotting
- energy_hist_1D
- position_hist_1D
- momentum_hist_1D
- particle_positions_scatter_2D
- particle_positions_hist_2D
- transverse_trace_space_scatter_2D
- transverse_trace_space_hist_2D
- n_particles_v_time
- radial_energy_boxplot
- fluence_map_2D
- Transformation of phase space data
- Working with different units
- Compress phase space via regrid/merge operations
- Up/Down sampling phase space data using gaussian KDE
- Phase Space Format
- Supported particles
- Limitations
- Code Documentation