Releases: xsuite/xtrack
Releases · xsuite/xtrack
Xtrack version 0.49.0
Changes
- Add method
EnergyProgram.get_kinetic_energy0_at_t_s(...)
. - Add method
Line.get_amplitude_detuning_coefficients(...)
. - Change
Line.twiss(...)
argument names:ele_start
becomesstart
,ele_stop
becomesend
,twiss_init
becomesinit
,ele_init
becomesinit_at
,ele_co_search
becomesco_search_at
. - Renamed
TwissTable.betz0
toTwissTable.bets0
. - xdeps manager initialized by default when creating a line.
- Add possibility to define optimization targets from line or vars through
Line.target(...)
orLine.vars.target(...)
. - Add possibility to define optimization targets from existing twiss tables through
TwissTable.target(...)
.] - In Line.match remove
preserve
,preserve_start
,preserve_stop
, user can pass a twiss table instead. - Add method
Optimizer.tag(...)
. - Remove
LinearTransferMatrix
(was already deprecated). - Rename amplitude detuning coefficients in the
LineSegmentMap
element (detx_x
becomesdet_xx
,detx_y
becomesdet_xy
, etc…). - Thick elements allowed by default when importing from MAD-X.
- Add dependency on pandas.
- Improvements and updates in many examples.
Full Changelog: v0.48.2...v0.49.0
Xtrack version 0.48.2
Xtrack version 0.48.1
Changes:
- Fix in element insertion
- Update spacecharge examples and sps spacecharge test data.
Full Changelog: v0.48.0...v0.48.1
Xtrack version 0.48.0
Changes:
- New features in
Line.twiss
:- Initial conditions can be provided at any point in the selected range.
- Initial conditions can be provided as keyword arguments, e.g.
line.twiss(ele_start='ip8', ele_stop='ip2', ele_init='ip1', betx=1., bety=2.)
. - Twiss range can extend across the end of the line (useful to avoid unnecessary line cycle).
ele_co_search
can be provided to periodic twiss to perform the closed orbit search at a given point in the line (instead of start line). Useful to avoid failures when large orbit bumps extend across the start of the line.
Xtrack version 0.47.2
Changes:
- Fix in skew quadrupole import from MAD-X.
- Rename
Line.vars.load_madx_optics_file
toLine.vars.set_from_madx_file
(both are kept).
Full Changelog: v0.47.1...v0.47.2
Xtrack version 0.47.1
Changes:
- Fix: handle uninitialized variables in
load_madx_optics_file
Xtrack version 0.47.0
Changes:
- Introduce multi-turn closed solution search in twiss.
- Replace
particle_co_guess
withco_guess
(can be also a dict). - Fix for handling MAD-X expressions including arrows.
Full Changelog: v0.46.5...v0.47.0
Xtrack version 0.46.5
Changes:
- Add a workaround for issue with progress bar in notebooks.
- Fix issues with the default turn by turn monitor when tracking with the progress bar
- Fix issues with ele_start, ele_stop when tracking with the progress bar
Full Changelog: v0.46.3...v0.46.5
Xtrack version 0.46.4
Changes:
- Introduce
ParticlesInjectionSample
element. - Fix issue with line save/reload when
energy_program
is set. - Disable notebook progress indicator due to issue in underlying library (fall back on terminal).
- Reset
_t_last_update_time_dependent_vars
if tracking is restarted. - Fix issue with progress
time_last_track
when progress bar is active.
Full Changelog: v0.46.3...v0.46.4
Xtrack version 0.46.3
Changes:
- Fix in tapering (correct behavior in case probe particle is lost in preliminary check).
- Fix in LineSegmentMap for frozen longitudinal motion.
- Small ring example
Full Changelog: v0.46.2...v0.46.3