Xtrack version 0.9.0
Changes:
- Synchrotron radiation:
- Corrected dependence on energy deviation in average and quantum modes.
- Checked damping times and equilibrium emit against the emit module of MAD-X .
- Added optional computation of damping times and energy loss in
Tracker.twiss
. - Synchrotron radiation modelling can be configured for the entire line using
Line.configure_radiation(...)
. - Random number generator is automatically initialised by the
tracker.track(particles)
if radiation is activated throughLine.configure_radiation(...)
.
- Changed sign convention for cavity voltage if reference particle has negative charge.
- Added example and tests for CLIC Damping ring.
- Disabled automatic symplectification in
Tracker.twiss
(found to degrade accuracy on vertical dispersion). Tracker.twiss
now returns additional data:- Scalars:
T_rev
,circumference
,betz0
. - Along the beam line:
delta
,psigma
andzeta
coordinates of the 6D closed orbit. - Optionally: damping_constants, partition_numbers and energy loss from radiation (see above).
- Scalars:
- Tuned closed-orbit search algorithm. Info on numpy.fsolve convergence attached to returned particle object.
Tracker.twiss
checks that one-turn matrix is well defined- Names of keyword arguments passed to beam element constructors are now checked (an exception is raised for unexpected names, e.g. typos).
- Tracker verifies that elements containing references to external data are allocated in the same buffer as the tracker.
- Fix in
LossLocationRefinement
(correct number of interpolated apertures). - Simplified import of MAD-X expressions. Corrected management of expression in the presence of errors.
- Updated all examples.