Skip to content

Xtrack version 0.102.0

Choose a tag to compare

@szymonlopaciuk szymonlopaciuk released this 16 Apr 07:14
· 1685 commits to main since this release

Changes:

  • Deprecate Environment.new_builder(...) in favor or Environment.new_line(compose=True, ...)
  • Deprecate Line.compute_one_turn_matrix_finite_differences(...) in favor of Line.compute_R_matrix(...)
  • Deprecate Line.config.XTRACK_USE_EXACT_DRIFTS in favor of Line.configure_drift_model('exact')
  • Deprecations in Line.twiss kwargs:
    • r_sigma -> step_W_sigma
    • steps_r_matrix -> steps_R_matrix
    • compute_chromatic_properties -> chrom (does not give warning yet)
    • eneloss_and_damping -> radiation_analysis (does not give warning yet)
    • polarization -> polarization_analyis(does not give warning yet)
    • at_s -> use shallow copy and cut_at_s
    • at_elements -> use TwissTable.rows
    • freeze_longitudinal
    • freeze_energy
  • Deprecations in Twiss output:
    • circumference -> line_length
    • T_rev0 -> t_rev0
    • T_rev -> t_rev
    • kin_xprime -> kin_xp
    • kin_xprime -> kin_xp
    • orientation -> _orientation
    • slip_factor_dz_ddelta -> `slip_factor_dzeta_ddelta
    • eneloss_turn -> energy_loss

Full Changelog: v0.101.4...v0.102.0