Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.37.0
Changes:
- Introduce the following thick elements:
Bend
,Quadrupole
,CombinedFunctionMagnet
. - Introduce
Line.slice_thick_elements
method, equivalent to MAD-X makethin. - Introduce time-dependent functions within xdeps variables, which are changed automatically during tracking.
- Introduce new method
Line.check_compatibility_with_prebuilt_kernels
Full Changelog: v0.36.5...v0.37.0
Xsuite version 0.36.5
Changes:
- Docstrings update
Xtrack version 0.36.4
Changes:
- More accurate calculation of dispersion and crab dispersion
- In twiss
method="4d"
freezes the energy variables (but not zeta). - Fixes in management of cached and pre-built kernels and some reorganization in
Tracker
. - Fixes in twiss orientation management.
- Fix in
Line.optimize_for_tracking
. - Remove to_binary/from_binary methods in
Tracker
.
Full Changelog: v0.36.2...v0.36.4
Xtrack version 0.36.0
Changes:
- Introduce
LineSegmentMap
to replaceLinearTranferMatrix
. Note the different convention on signs ofqs
(always positive) andbets
(negative below transition). - Introduce
Line.match_knob(...)
method. TwissInit
can be initialized with user-defined orbit and twiss parameters.- Move
table.py
to xdeps. - Chromaticity computed from two full twisses (solves problems with fractional tunes larger than 0.5).
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
Xtrack version 0.34.1
Changes:
- Updated tolerance for closed orbit search (was too tight for certain machines)
Full Changelog: v0.34.0...v0.34.1
Xtrack version 0.34.0
Changes:
- Introduce footprint with frozen longitudinal coordinates (and assigned momentum)
- Introduce lumi calculation (no crab cavities for now).
- Introduce crab dispersion in twiss result.
- Introduce
Multiline.twiss
andMultiline.match
to allow matching with multiple beam lines. - Introduce
VaryList
andTargetList
to have a compact syntax to specify multiple targets. - Introduce match targets to specify luminosity, separation and impose orthogonality between separation plane and crossing plane at a given collider interaction point.
- Introduce
collider.apply_filling_pattern
to enable/disable beam beam elements based on a given filling scheme. - Introduce
Multiline.discard_trackers()
twiss(ele_start=..., ele_stop=...)
now includes the element specified byele_stop
.- Adapt default flags in precompiled kernel definitions.
- Fix issue with precompiled kernel for collective trackers.
Full Changelog: v0.33.0...v0.34.0
Xtrack version 0.33.0
Xtrack version 0.32.0
Changes:
- Removed Tracker class from user interface (remains as internal implementation). Functionality can now be accessed through the Line class (see xsuite/xsuite#322). Backward compatibility kept for the time being (with deprecation warning).
- Simplified management of collective elements in Tracker (Tracker._supertracker removed, rationalized class implementation)
- Collected all attributes controlling the behavior of Tracker and Line within Line.config (passed to C as preprocessor macros) and Line._extra_config (available only at python level and exposed via properties). These are preserved by
to_dict
/from_dict
,to_json
/from_json
andcopy
methods. - Remove
global_xy_limit
argument ofbuild_tracker
. Global aperture can be controlled withline.config.XTRACK_GLOBAL_XY_LIMIT
. - Remove
reset_s_at_end_turn
argument ofbuild_tracker
. This feature can now be accessed through the attributeLine. reset_s_at_end_turn
.
Xtrack version 0.31.0
Changes:
- Add
Line.get_footprint(...)
method. - Introduce smart table for twiss and survey (e.g.
tw[['betx', 'bety'], 'drift.*']
,tw[:, ip1:ip5]
,tw[:, 100.3:200.4:"s"]
. - Discontinue
Line.twiss(reverse=True)
andLine.survey(reverse=True)
, replaced byLine.twiss().reverse()
andLine.survey().reverse()
- Introduce possibility of disabling all Xsuite printed output (
xtrack._print.suppress = True
).
Full Changelog: v0.30.1...v0.31.0