Skip to content

Xtrack version 0.32.0

Compare
Choose a tag to compare
@giadarol giadarol released this 03 Apr 19:34
· 4257 commits to main since this release

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.