Skip to content

Releases: xsuite/xtrack

Xtrack version 0.73.0

15 Jan 11:02
Compare
Choose a tag to compare

Changes:

  • Fix in emittance calculation with solenoids
  • Ability to slice repeated elements.
  • Added a summary of key methods and attributes in the Environment class docstring.
  • Anchors in line definitions:
    • env.new_line() and Builder now support anchors (env.place and env.new accept a parameter anchor valued start, end, center).
    • Enabled placement of sub-lines and handling of thin elements with clear ordering.
  • Line-editing methods:
    • Introduced new Line methods: insert, append, remove, and replace.
    • Deprecated Line.insert_element and Line.append_element in favor of new methods.
    • Unified API behavior with Builder for consistency.
  • Deprecation of Multiline in favour of Environment:
    • Extended Environment to handle all use cases of the deprecated Multiline.
    • API backward compatibility ensured
    • Automatic conversion of old Multiline JSON to Environment to ease transition.
    • Introduced renaming for shared elements (e.g., 'mqxfa.a1r1/lhcb1').
    • Marked Multiline for removal within 1–2 months, pending user communication and JSON re-saving.
  • Apply fixes and relax some tolerances in tests after a new release of SciPy changes some of the constants in scipy.constant.

Full Changelog: v0.72.2...v0.73.0

Xtrack version 0.72.1

17 Dec 08:36
Compare
Choose a tag to compare

Changes:

  • Catch start == end condition in the creation of 2nd order Taylor map #565
  • Allow getting the element from Line.get_table() using the generated unique names #561
  • Fix the aperture_check method of the Line #534
  • Allow constructing a drift with Drift(n) and validate Particles kwargs #522
  • Change the default value in the exciter #521 (default changed to zero)

New Contributors:

Full Changelog: v0.72.0...v0.72.1

Xtrack version 0.72.0

11 Dec 10:55
Compare
Choose a tag to compare

Changes:

  • Add more general tilts and shifts for multipolar components in solenoids.
  • Support slicing of thick-slice elements

Full Changelog: v0.71.0...v0.72.0

Xtrack version 0.71.0

09 Dec 09:42
Compare
Choose a tag to compare

Changes:

  • Remove xfail in MAD-NG tests.
  • Introduce xtrack.json.dump(...) and xtrack.json.load(...).
  • Cleaner error message on failure to renormalize eigenvectors in twiss.
  • Propagate default_tol when cloning an optimizer object.
  • Autogenerate tages for optimizer targets.
  • Add environment-like methods in Multiline.
  • Add more customization features in TwissPlot.

Full Changelog: v0.70.3...v0.71.0

Xtrack version 0.70.2

22 Nov 09:42
Compare
Choose a tag to compare

Changes:

  • Add support for refer=exit in the definition of lines
  • Introduce xt.load_madx_lattice
  • Introduce Line.vars.load_madx
  • Introduce TwissTable.get_R_matrix_table()
  • Fixes and enhancements in TwissTable.plot(...)

Full Changelog: v0.70.1...v0.70.2

Xtrack version 0.70.1

18 Nov 20:59
Compare
Choose a tag to compare

Changes:

  • Fixes in tests

Full Changelog: v0.70.0...v0.70.1

Xtrack version 0.70.0

15 Nov 17:11
Compare
Choose a tag to compare

Changes

  • Introduce native MAD-X parser xtrack.mad_parser.loader.MadxLoader.
  • Introduce OptimizeLine.clone
  • OptimizeLine.targets and OptimizeLine.vary can be accessed with tags
  • Introduce take_best option in OptimizeLine.step(), active by default
  • Introduce Environment.vars.to_dict(), Environment.from_json(...), Environment.vars.default_to_zero
  • Introduce Environment.call(...)
  • Support element insertion in lines with repeated elements.
  • xt.LessThan and xt.GreaterThan support references as value.
  • New properties to control aperture element parameters.
  • More powerful MAD-NG interface. Introduce Line.madng_twiss().
  • Fix in LineSegmentMap for high-order chromaticities
  • Fix in Environment.new_line(...) s position resolution and support for refer='entry'

Full Changelog: v0.69.7...v0.70.0

Xtrack version 0.69.7

26 Oct 15:20
Compare
Choose a tag to compare

Changes:

  • Fix R matrix calculation within consecutive thin elements

Full Changelog: v0.69.6...v0.69.7

Xtrack version 0.69.6

10 Oct 09:33
Compare
Choose a tag to compare

Changes

  • Add Line.scattering and Line.collimators

Full Changelog: v0.69.5...v0.69.6

Xtrack version 0.69.5

10 Oct 09:35
Compare
Choose a tag to compare

Changes

  • Introduce c_minus_re, c_minus_im in twiss output.
  • Handle rbend and rbarc flags when setting a bend in the environment.
  • Fix in sinc function.

[had missed this one before]

Full Changelog: v0.69.4...v0.69.5