Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.57.0
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()
andLine.twiss()
. - Introduced
shift_x
,shift_y
androt_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
Xtrack version 0.56.0
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
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 andx_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
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
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
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()
andLine.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
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 inMultiline
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
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
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