Releases: xsuite/xtrack
Releases · xsuite/xtrack
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
Xtrack version 0.70.1
Xtrack version 0.70.0
Changes
- Introduce native MAD-X parser
xtrack.mad_parser.loader.MadxLoader
. - Introduce
OptimizeLine.clone
OptimizeLine.targets
andOptimizeLine.vary
can be accessed with tags- Introduce
take_best
option inOptimizeLine.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
andxt.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 forrefer='entry'
Full Changelog: v0.69.7...v0.70.0
Xtrack version 0.69.7
Changes:
- Fix R matrix calculation within consecutive thin elements
Full Changelog: v0.69.6...v0.69.7
Xtrack version 0.69.6
Xtrack version 0.69.5
Changes
- Introduce
c_minus_re
,c_minus_im
in twiss output. - Handle
rbend
andrbarc
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