Skip to content

Xtrack version 0.35.0

Compare
Choose a tag to compare
@giadarol giadarol released this 30 May 19:38
· 4543 commits to main since this release

Changes:

  • New implementation and interface of backtracking in order to avoid making copies of the line. Now it is possible to backtrack by using Line.track(backtrack=True, ...).
  • Line objects can be pickled.
  • More powerful matching capabilities:
    • Improved accuracy from usage of central differences.
    • Twiss calculation with periodic boundary conditions on a portion of beam line.
    • Twiss with boundary conditions provided at the end of a portion of beam line (uses backtracking).
    • Improved speed.
    • Twiss defaults for a line can be specified in Line.twiss_default dictionary.
  • More powerful matching capabilities:
    • Parameter optimizer used in Line.match moved to xdeps (Line.match method is kept).
    • Introduce "Jacobian" optimizer to handle problems with number of knobs different from the number of targets (this optimizer becomes the default one).
    • Possibility of optimizing parameters based on results of arbitrary actions defined by the user.
    • Introduce weights on Targets and Vary objects.
    • Introduce target to define inequality constraints.
  • Introduce caching of functions generated by knobs for fast trims.

Full Changelog: v0.34.1...v0.35.0