Skip to content

Releases: xsuite/xtrack

Xtrack version 0.95.0

10 Nov 13:43

Choose a tag to compare

Changes:

  • Fixes in native MAD-X loader: thin solenoid, k2 in bends, k0 differing from h. Extend knl/ksl when needed.
  • Improved atomic_add C 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 nocharge option in the MAD-NG interface

Full Changelog: v0.94.2...v0.95.0

Xtrack version 0.94.2

31 Oct 21:06

Choose a tag to compare

Changes:

  • Better handling of k0_from_h in python lattice writer

Full Changelog: v0.94.1...v0.94.2

Xtrack version 0.94.1

30 Oct 14:01

Choose a tag to compare

Changes:

  • Added support for rigidity0 and kinetic_energy0 as reference quantities in the Particles class, 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

28 Oct 11:32

Choose a tag to compare

Changes:

  • Correctly handle positions RBends when computing drift lengths with specified s positions.
  • Support expressions in at arguments of Environment.place().
  • Environment.elements, Environment.vars, Environment.lines, Environment.particles implemented by dedicated container classes. It is enforced that names in the containers cannot overlap.
  • Introduce mode="compose" for Line
  • Implement Environment.elements.remove() that takes care of keeping consistency at the xdeps level.
  • Handle BeamElement.extra and BeamElement.prototype throughout the environment life cycle (including copy(), to_dict(), from_dict()).
  • Change behavior of line.replicate(...) and line.clone(...): they take suffix instead of name and return a line instead of storing one in line.env.lines.
  • Fix in BaseElement.to_dict()
  • Adapt examples and tests to use recommended API (env.elements instead of element_dict/element_refs, env.ref[...] instead of env.vars[...] and env.element_ref[...]).

Full Changelog: v0.93.2...v0.94.0

Xtrack version 0.93.2

10 Oct 14:02

Choose a tag to compare

Changes:

  • Add support for translation, xrotation, yrotation, srotation elements in native MAD-X loader.

Full Changelog: v0.93.1...v0.93.2

Xtrack version 0.93.1

10 Oct 08:27

Choose a tag to compare

Changes:

  • Correct handling of zeta variable 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

30 Sep 15:05

Choose a tag to compare

Changes:

  • Introduce xt.BorisSpatialIntegrator capable of tracking through a field defined as a callable. Independent variable is s.
  • 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

25 Sep 11:23

Choose a tag to compare

Changes:

  • Add to TwissTable class the following methods: to_json(...)/from_json(...), to_csv(...)/from_csv(...), to_tfs(...)/from_tfs(...), to_hdf5(...)/from_hdf5(...)
  • Fix RBend length handling in MAD-X and MAD-NG export

Full Changelog: v0.90.2...v0.92.0

Xtrack version 0.90.2

16 Sep 13:26

Choose a tag to compare

Changes:

  • Move xtrack part of prebuilt_kernel_definitions from xsuite to xtrack

Full Changelog: v0.90.1...v0.90.2

Xtrack version 0.90.1

15 Sep 07:37

Choose a tag to compare

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() and get_available_integrators() for all magnetic elements.
  • Introduce Environment.set_particle_ref() and Line.set_particle_ref().
  • xt.Particles(), Environment.new_particle(), Environment.set_particle_ref() and Line.set_particle_ref() accept particle species or pdg id to specify reference mass and charge.
  • Introduce setters for Particles.energy0 and Particles.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 Drift elements when using Env.set(...)

Full Changelog: v0.90.0...v0.90.1