Skip to content

Releases: xsuite/xtrack

Xtrack version 0.32.0

03 Apr 19:34
Compare
Choose a tag to compare

Changes:

  • Removed Tracker class from user interface (remains as internal implementation). Functionality can now be accessed through the Line class (see xsuite/xsuite#322). Backward compatibility kept for the time being (with deprecation warning).
  • Simplified management of collective elements in Tracker (Tracker._supertracker removed, rationalized class implementation)
  • Collected all attributes controlling the behavior of Tracker and Line within Line.config (passed to C as preprocessor macros) and Line._extra_config (available only at python level and exposed via properties). These are preserved by to_dict/from_dict, to_json/from_json and copy methods.
  • Remove global_xy_limit argument of build_tracker. Global aperture can be controlled with line.config.XTRACK_GLOBAL_XY_LIMIT.
  • Remove reset_s_at_end_turn argument of build_tracker. This feature can now be accessed through the attribute Line. reset_s_at_end_turn.

Xtrack version 0.31.0

29 Mar 07:18
Compare
Choose a tag to compare

Changes:

  • Add Line.get_footprint(...) method.
  • Introduce smart table for twiss and survey (e.g. tw[['betx', 'bety'], 'drift.*'], tw[:, ip1:ip5], tw[:, 100.3:200.4:"s"].
  • Discontinue Line.twiss(reverse=True) and Line.survey(reverse=True), replaced by Line.twiss().reverse() and Line.survey().reverse()
  • Introduce possibility of disabling all Xsuite printed output (xtrack._print.suppress = True).

Full Changelog: v0.30.1...v0.31.0

Xtrack version 0.30.1

22 Mar 12:57
Compare
Choose a tag to compare

Changes:

  • Fix in precompiled kernel tests

Full Changelog: v0.30.0...v0.30.1

Xtrack version 0.30.0

22 Mar 09:35
Compare
Choose a tag to compare

Changes:

  • Adapt xtrack to the new particles classes introduced in xpart v0.14.0 (allow multiple Particles classes).

Full Changelog: v0.29.4...v0.30.0

Xtrack version 0.29.4

21 Mar 09:11
Compare
Choose a tag to compare

Changes:

  • Add option to hide groups of thin elements in twiss output (useful to remove artefacts from element shifts and rotations)
  • Example of RF frequency trim
  • Change type of Exciter.samples to float32
  • Add length to LinearTransferMatrix

Xtrack version 0.23.3

16 Mar 15:49
Compare
Choose a tag to compare

Changes:

  • Another small fix in RaceTrack aperture limit

Xtrack version 0.29.2

16 Mar 15:31
Compare
Choose a tag to compare

Change:

  • Allow loss location refinement in the presence of ParticlesMonitor elements.

Xtrack version 0.29.1

16 Mar 13:51
Compare
Choose a tag to compare

Fix

  • Allow zero radius in racetrack aperture limits

Xtrack version 0.29.0

15 Mar 12:33
Compare
Choose a tag to compare

Changes:

  • Introduce Exciter element.
  • Introduce TwissTable.get_R_matrix method.
  • Add consistency check in LimitRacetrack initialisation.
  • Introduce Line.remove_redundant_apertures method.
  • Introduce Multiline.from_dict and Multiline.to_dict methods.
  • Line simplification methods now support inplace=False and keep=['ELE1', 'ELE2', ... ]
  • Survey.__getitem__ supports tuple ['name', 'column']
  • Updated all test_data json files following the introduction of Marker elements

Xtrack version 0.28.0

05 Mar 07:21
Compare
Choose a tag to compare

Changes:

  • Methods and attributes of the Tracker class transferred to the Line class. As of this version the user should never need to access the Tracker object directly but can perform all operations using the Line object (e.g. line.track(...), line.twiss(...), line.configure_radiation(...), line.compensate_energy_loss(...), etc.)
  • Introduce Line.to_json and Line.from_json methods.
  • Introduce replace_in_expr option in mad_loader to replace a set of strings in all imported expressions.
  • Introduce expressions_for_element_types in mad_loader to import deferred expressions only for elements of selected types (e.g. only for kicker elements).
  • Introduce Line.closed_orbit_correction.
  • Introduce Multiline class to handle multiple beam lines sharing a set of knobs.
  • In Line.twiss add possibility to have multipole strengths in the output table.
  • In Line.match introduce possibility to have targets quantities at specific locations in the beam line.
  • In Line.match, in the Jacobian calculation, introduce support for steps of different size for the different variables.
  • In Line.match introduce possibility to have different scales for the different targets.
  • Fix in mad_loader in the import of Translation elements.