Particle Phase Space
Contents:
Examples
Basic Example
Writing a new data loader
Reading IAEA phase space
Writing a new data exporter
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
Particle Phase Space
Examples
View page source
Examples
Examples:
Basic Example
Data import
Calculation of additional quantities
Reset the phase space to required columns
Basic analytics
Seperating, adding, and subtracting phase space objects
Twiss parameters
Exporting the data
Writing a new data loader
Reading IAEA phase space
The IAEA format
Reading an IAEA phase space file
When things don’t work quite so well…
Next steps
Writing a new data exporter
Testing the data export
Transformation of phase space data
Translations
Rotations
Rotation of momentum
Projection
Regridding
Other (less supported!) transformations
Working with different units
Available units
Setting units at data read in
Changing units after read in
Defining new unit sets
Compress phase space via regrid/merge operations
Particle Positions
Energy
Momentum
Trace Space
Notes/ Conclusions
Up/Down sampling phase space data using gaussian KDE
Example: Downsampling a large phase space
Ad-hoc data cleaning steps
Compare original to downsampled:
Momentum