Skip to content

Releases: xsuite/xtrack

Xtrack version 0.49.0

22 Jan 16:46
Compare
Choose a tag to compare

Changes

  • Add method EnergyProgram.get_kinetic_energy0_at_t_s(...).
  • Add method Line.get_amplitude_detuning_coefficients(...).
  • Change Line.twiss(...) argument names: ele_start becomes start, ele_stop becomes end, twiss_init becomes init, ele_init becomes init_at, ele_co_search becomes co_search_at.
  • Renamed TwissTable.betz0 to TwissTable.bets0.
  • xdeps manager initialized by default when creating a line.
  • Add possibility to define optimization targets from line or vars through Line.target(...) or Line.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 becomes det_xx, detx_y becomes det_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

12 Jan 12:21
Compare
Choose a tag to compare

Changes:

  • Fix issue with reference energy change in LineSegmentMap

Full Changelog: v0.48.1...v0.48.2

Xtrack version 0.48.1

21 Dec 07:57
Compare
Choose a tag to compare

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

17 Dec 13:29
Compare
Choose a tag to compare

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

12 Dec 14:54
Compare
Choose a tag to compare

Changes:

  • Fix in skew quadrupole import from MAD-X.
  • Rename Line.vars.load_madx_optics_file to Line.vars.set_from_madx_file (both are kept).

Full Changelog: v0.47.1...v0.47.2

Xtrack version 0.47.1

11 Dec 20:49
Compare
Choose a tag to compare

Changes:

  • Fix: handle uninitialized variables in load_madx_optics_file

Xtrack version 0.47.0

07 Dec 08:29
Compare
Choose a tag to compare

Changes:

  • Introduce multi-turn closed solution search in twiss.
  • Replace particle_co_guess with co_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

06 Dec 13:18
Compare
Choose a tag to compare

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

23 Nov 11:00
Compare
Choose a tag to compare

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

15 Nov 12:37
Compare
Choose a tag to compare

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