Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.73.5
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
Xtrack version 0.73.2
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
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
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()
andBuilder
now support anchors (env.place
andenv.new
accept a parameteranchor
valuedstart
,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
, andreplace
. - Deprecated
Line.insert_element
andLine.append_element
in favor of new methods. - Unified API behavior with
Builder
for consistency.
- Introduced new
- Deprecation of
Multiline
in favour ofEnvironment
:- Extended
Environment
to handle all use cases of the deprecatedMultiline
. - API backward compatibility ensured
- Automatic conversion of old
Multiline
JSON toEnvironment
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.
- Extended
- 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
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
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
Changes:
- Remove xfail in MAD-NG tests.
- Introduce
xtrack.json.dump(...)
andxtrack.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
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