Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.95.0
Changes:
- Fixes in native MAD-X loader: thin solenoid,
k2in bends,k0differing from h. Extendknl/kslwhen needed. - Improved
atomic_addC function - Store angles instead of sin/cos in misalignments
- Add k2 attribute to Bend and RBend
- Support thick slicing of misaligned elements
- Support spin tracking for misaligned elements
- Support and set the
nochargeoption in the MAD-NG interface
Full Changelog: v0.94.2...v0.95.0
Xtrack version 0.94.2
Xtrack version 0.94.1
Changes:
- Added support for
rigidity0andkinetic_energy0as reference quantities in theParticlesclass, including initialization, property access, and setters, allowing users to define particles by magnetic rigidity and kinetic energy directly. - Fix in cpymad loader for magnetic errors.
Full Changelog: v0.94.0...v0.94.1
Xtrack version 0.94.0
Changes:
- Correctly handle positions
RBendswhen computing drift lengths with specifiedspositions. - Support expressions in
atarguments ofEnvironment.place(). Environment.elements,Environment.vars,Environment.lines,Environment.particlesimplemented by dedicated container classes. It is enforced that names in the containers cannot overlap.- Introduce
mode="compose"forLine - Implement
Environment.elements.remove()that takes care of keeping consistency at the xdeps level. - Handle
BeamElement.extraandBeamElement.prototypethroughout the environment life cycle (includingcopy(),to_dict(),from_dict()). - Change behavior of
line.replicate(...)andline.clone(...): they takesuffixinstead ofnameand return a line instead of storing one inline.env.lines. - Fix in
BaseElement.to_dict() - Adapt examples and tests to use recommended API (
env.elementsinstead of element_dict/element_refs, env.ref[...] instead of env.vars[...] andenv.element_ref[...]).
Full Changelog: v0.93.2...v0.94.0
Xtrack version 0.93.2
Changes:
- Add support for
translation,xrotation,yrotation,srotationelements in native MAD-X loader.
Full Changelog: v0.93.1...v0.93.2
Xtrack version 0.93.1
Changes:
- Correct handling of
zetavariable and lost particles in BorisSpatialIntegrator - Fixes and extensions in MAD-NG interface
Full Changelog: v0.93.0...v0.93.1
Xtrack version 0.93.0
Changes:
- Introduce
xt.BorisSpatialIntegratorcapable of tracking through a field defined as a callable. Independent variable iss. - Isolate twiss function to compute chromatic properties from off momentum twisses.
- Fix in
Line.insert(...)
Full Changelog: v0.92.0...v0.93.0
Xtrack version 0.92.0
Changes:
- Add to
TwissTableclass the following methods:to_json(...)/from_json(...),to_csv(...)/from_csv(...),to_tfs(...)/from_tfs(...),to_hdf5(...)/from_hdf5(...) - Fix
RBendlength handling in MAD-X and MAD-NG export
Full Changelog: v0.90.2...v0.92.0
Xtrack version 0.90.2
Changes:
- Move xtrack part of
prebuilt_kernel_definitionsfrom xsuite to xtrack
Full Changelog: v0.90.1...v0.90.2
Xtrack version 0.90.1
Changes:
- Global and local apertures can be disabled with a track_flag.
- Local and global apertures ignored in twiss (can be explicitly enabled if needed)
- Deallocate temporary lines in LossLocationRefinement
- Deallocate tracker data when calling
discard_tracker() - Support backtracking in elements with misalignments.
- Introduce
get_available_models()andget_available_integrators()for all magnetic elements. - Introduce
Environment.set_particle_ref()andLine.set_particle_ref(). xt.Particles(),Environment.new_particle(),Environment.set_particle_ref()andLine.set_particle_ref()accept particle species or pdg id to specify reference mass and charge.- Introduce setters for
Particles.energy0andParticles.kinetic_energy0 - Print a warning when trying to load a json generated with an Xtrack version newer than the installed one.
- Fix for setting model for
Driftelements when usingEnv.set(...)
Full Changelog: v0.90.0...v0.90.1