Xtrack version 0.35.0
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
andVary
objects. - Introduce target to define inequality constraints.
- Parameter optimizer used in
- Introduce caching of functions generated by knobs for fast trims.
Full Changelog: v0.34.1...v0.35.0