Releases: xsuite/xpart
Releases · xsuite/xpart
Xpart version 0.12.1
Changes:
- Allow passing elements exposing
behaves_like_drift = True
inbuild_particles(..., match_at_s=VAL)
.
Xpart version 0.12.0
Changes:
- Remove
_pyparticles.py
auxiliary module and put the relevant logic in theParticles
class. Add setters for p0c, gamma0, beta0. - A Particles object can now be constructed with given seeds for the random generator. This is useful to read in a set of particles from json.
- Add muon mass to constants.
Xpart version 0.11.0
Changes:
- Introduce
generate_2D_pencil_with_absolute_cut
- Extend
build_particles
to accept a combination of absolute and normalized coordinates
Xpart version 0.10.3
Changes:
- Fix inconsistency in version number.
Xpart 0.10.2
Changes:
Particles.reorganize
is now much faster when particles are already sorted
Full Changelog: v0.10.1...v0.10.2
Xpart version 0.10.1
Changes
- Added method to calculate classical particle radius
- Introduce a more granular test retry facility (
@retry
+with flaky_assertions():
)
Full Changelog: v0.10.0...v0.10.1
Xpart version 0.10.0
Changes:
- Freeze variables in
LocalParticle
using precompilation flags
Xpart version 0.9.3
Changes:
- Allow apertures between
at_element
andat_s
inxpart.build_particles
.
Xpart version 0.9.2
Changes:
- Introduce retry for tests involving random number generation
Full Changelog: v0.9.1...v0.9.2
Xpart version 0.9.1
Changes:
- Fix issue with particle matching when R matrix is provided by the user
Full Changelog: v0.9.0...v0.9.1