Skip to content

Releases: xsuite/xtrack

Xtrack version 0.73.5

28 Jan 15:34
Compare
Choose a tag to compare

Changes:

  • Introduce Line.extend_knl_ksl(...)
  • Fix parsing MAD-X expressions containing the symbol ^

Full Changelog: v0.73.4...v0.73.5

Xtrack version 0.73.4

28 Jan 08:30
Compare
Choose a tag to compare

Changes:

  • Fix in Line shallow copy.

Full Changelog: v0.73.2...v0.73.4

Xtrack version 0.73.2

24 Jan 13:13
Compare
Choose a tag to compare

Changes:

  • Additional columns in survey table (element_type, length, isthick)
  • Correctly store/reload config and metadata in Line.to_dict/Line.from_dict
  • Enable multipolar error support for thick elements (magnets + solenoid) in the madloader
  • Misc fixes in the environment

Full Changelog: v0.73.1...v0.73.2

Xtrack version 0.73.1

21 Jan 16:11
Compare
Choose a tag to compare

Changes:

  • Improve the robustness of tests by fixing some random number generator seeds.

Full Changelog: v0.73.0...v0.73.1

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