Releases: xsuite/xpart
Releases · xsuite/xpart
Xpart version 0.5.0
New feature:
- Energy variables in Particles (delta, psigma, rvv, rpp) are now linked using xobjects.LinkedArray (e.g. part.delta[3] = 0.1 automatically updates also psigma, rvv, cpp)
Xpart version 0.4.0
New features:
LocalParticle_add_to_energycan add to p_z only or to all momentum components (needed for synchrotron radiation)- Added
LocalParticle_generate_random_doubleandLocalParticle_generate_random_doubleto random number generator (needed for synchrotron radiation)
Xpart version 0.3.2
Fix:
- Include header files in pypi package
Xpart version 0.3.0
New features:
- Generation of halo and pencil distributions.
Particles.to_dictcreates by default a copy of the data on CPU.- Introduced
Particles.mergeandParticles.filtermethods. - Introduced
Particles.to_pandasandParticles.from_pandasmethods. - Introduced examples on how to save/load particles from/to file.
build_particlesandgenerate_matched_gaussian_bunchcan find automatically the closed orbit and the one-turn matrix from axtrack.Trackerobject.- Introduced explicit modes (set, shift, normalized_transverse) as input of the
build_particlesfunction. generate_longitudinalcan use axtrack.Trackerobject to find the required machine parameters (RF voltage, harmonics, phases, momentum compaction factor).
Fix
- In the
Particles.from_dictmethod all energy variables are taken from the dictionary (before they were all recomputed from delta)
Xpart version 0.2.0
Change in the Xsuite package structure:
- The xline package is removed
xline.Linebecomesxtrack.Line- instead of
xline.Drift,xline.Multipoleetc. use directlyxt.Drift,xt.Multipole - The Tracker objects are automatically updated when the line is modified (no need to regenerate the tracker)
- There is only one Particles class within Xsuite
xline.Particesandxtrack.Particlesto be replaced byxpart.Particles
- The reference python implementation of the main elements, which used to be in xline, is moved to a small package called
ducktrack, installed together with xtrack, to be used only for testing purposes (not part of normal tracking workflow)
New features
- Added build_particles function allowing to build a particles object from a reference particles plus arrays with geometric or normalized coordinates
- Added tools to compute and symplectify one-turn matrices (moved from pymask)
- Random number generator moved from xtrack togehter with the Particle class
- Ported PyHEADTAIL interface from xtrack
Xpart version 0.1.0
v0.1.0 Add release script