Skip to content

Releases: xsuite/xtrack

Xtrack version 0.37.0

26 Jun 16:16
Compare
Choose a tag to compare

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

12 Jun 09:30
Compare
Choose a tag to compare

Changes:

  • Docstrings update

Xtrack version 0.36.4

11 Jun 06:17
Compare
Choose a tag to compare

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

06 Jun 14:49
Compare
Choose a tag to compare

Changes:

  • Introduce LineSegmentMap to replace LinearTranferMatrix. Note the different convention on signs of qs (always positive) and bets (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

30 May 19:38
Compare
Choose a tag to compare

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

Xtrack version 0.34.1

14 May 19:47
Compare
Choose a tag to compare

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

07 May 06:56
Compare
Choose a tag to compare

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 and Multiline.match to allow matching with multiple beam lines.
  • Introduce VaryList and TargetList 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 by ele_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

24 Apr 07:03
Compare
Choose a tag to compare

Changes:

  • Enable OpenMP support.
  • Minor fix in table.

Full Changelog: v0.32.1...v0.33.0

Xtrack version 0.32.0

03 Apr 19:34
Compare
Choose a tag to compare

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 and copy methods.
  • Remove global_xy_limit argument of build_tracker. Global aperture can be controlled with line.config.XTRACK_GLOBAL_XY_LIMIT.
  • Remove reset_s_at_end_turn argument of build_tracker. This feature can now be accessed through the attribute Line. reset_s_at_end_turn.

Xtrack version 0.31.0

29 Mar 07:18
Compare
Choose a tag to compare

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) and Line.survey(reverse=True), replaced by Line.twiss().reverse() and Line.survey().reverse()
  • Introduce possibility of disabling all Xsuite printed output (xtrack._print.suppress = True).

Full Changelog: v0.30.1...v0.31.0