Skip to content

Releases: xsuite/xtrack

Xtrack version 0.57.0

19 Apr 13:23
Compare
Choose a tag to compare

Changes:

  • Introduce more compact json format (parameters equal to defaults are not stored)
  • Slicing done with slice-elements referring to the parent. Parent element can be updated also after the slicing and slice elements are updated accordingly. As a result no expression is generated when slicing an element.
  • Introduced Replica class to have multiple instances of the same element.
  • Element lengths and magnet strengths correctly extracted for replicas and slices in Line.attr, Line.get_table() and Line.twiss().
  • Introduced shift_x, shift_y and rot_s_rad properties to all elements in order to introduce misalignments.
  • Introduced aperture associated to an element. If present, this is taken into account when slicing the element.
  • TwissTable.reverse() reverses also the magnet strengths.
  • More efficient and general survey (vertical bends are correctly handled).
  • Rationalize element insertion (uses slicing capabilities).
  • Removed only_markers flag in twiss.
  • Removed element compounds (superseded by capabilities described above).

Full Changelog: v0.56.1...v0.57.0

Xtrack version 0.56.1

21 Mar 15:48
Compare
Choose a tag to compare

Changes:

  • Fix in test

Full Changelog: v0.56.0...v0.56.1

Xtrack version 0.56.0

21 Mar 15:18
Compare
Choose a tag to compare

Changes:

  • Add missing elements to prebuilt kernels.
  • Better estimation of damping partition numbers in twiss.

Full Changelog: v0.55.0...v0.56.0

Xtrack version 0.55.0

17 Mar 09:36
Compare
Choose a tag to compare

Changes:

  • Add interface to RF Track.
  • Add "absolute time" mode to RFCavity.
  • Add time synchronization capability for simulation of coasting beams.
  • Add radiation in solenoids.
  • Add ax, ay coordinates and x_prime, y_prime properties for easier extraction of angles in solenoids.
  • Add TargetRmatrix for the matching of R-matrix terms over a section of a beam line.
  • Add search_for_trev mode in twiss.
  • Handle bv flag in MAD-X loader.
  • Switch to exact drift as fallback in solenoid with zero strength.

Full Changelog: v0.54.2...v0.55.0

Xtrack version 0.54.2

15 Mar 15:30
Compare
Choose a tag to compare

Changes:

  • Add a missing kernel for aperture interpolation.
  • Unless skipping reorganisation of particles, on OpenMP only make batches with alive particles.
  • Move particles api test from xpart to xtrack.

Full Changelog: v0.54.1...v0.54.2

Xtrack version 0.54.1

07 Mar 08:29
Compare
Choose a tag to compare

Changes:

  • Fixes for prebuilt kernels attached to elements.
  • Respect the priority of prebuilt kernels according to the order they are defined.

Full Changelog: v0.54.0...v0.54.1

Xtrack version 0.54.0

29 Feb 11:31
Compare
Choose a tag to compare

Changes:

  • Add examples for adding tilt or shifts on compound elements.
  • Add capability of reinitializing io_buffer when logging is stopped.
  • Add capability to cut a thick line at specific s position (Line.cut_at_s).
  • Introduce Custom slicing strategy.
  • Introduce Line.to_madx_sequence() and Line.to_madng().
  • Introduce Quadrupole(..., k1s, ...), Octupole.
  • Multispecies tracking supported for Drift, Bend, Quadrupole, Sextupole, Octupole, Multipole, RFCavity, DipoleEdge .
  • Fix YRotation (beta confused with beta0).
  • Moved Particles class from Xpart to Xtrack.
  • Removed ParticlesPurelyLongitudinal.
  • Use Jacobian to search closed orbit.
  • Add Xcoll elements to prebuilt.

Full Changelog: v0.52.0...v0.54.0

Xtrack version 0.52.0

12 Feb 13:33
Compare
Choose a tag to compare

Changes:

  • Introduce Line.transform_compound(...) method to introduce tilt and shifts of elements
  • Introduce computation of transverse momentum crab dispersion (dpx_zeta, dpy_zeta).
  • Fix in Line.optimize_for_tracking(...) for lines embedded in Multiline objects.
  • Fix in twiss for calculation of chromatic properties of line portions.
  • Fix in import of Octagon elements form MAD-X.

Full Changelog: v0.51.1...v0.52.0

Xtrack version 0.51.1

10 Feb 06:57
Compare
Choose a tag to compare

Changes

  • Add possibility to log variables and other quantities at each turn.
  • Add possibility to extract a view on the merit function from Optimize objects
  • Adapt to updated nafflib.

Full Changelog: v0.51.0...v0.51.1

Xtrack version 0.51.0

05 Feb 10:42
Compare
Choose a tag to compare

Changes:

  • Second order dispersion and second order chromaticity added to twiss result.
  • Add chromatic properties to allowed keyword arguments for optimization targets.
  • Search for off-momentum closed orbit when computing chromatic properties in twiss.
  • Closed orbit search performed with Jacobian optimizer instead of numpy fsolve.
  • Possibility to use the optimizer on a generic callable.
  • Implement solenoid backtrack.

Full Changelog: v0.50.1...v0.51.0