Skip to content

PyAT 0.5.0

Latest
Compare
Choose a tag to compare
@lfarv lfarv released this 18 Nov 20:24
· 28 commits to master since this release
dd325a4

Main changes

  • A new cleaner interface for tracking is introduced: the new functions lattice_track and element_track, and the equivalent methods Lattice.track and Element.track, replace lattice_pass, element_pass and patpass. The old functions are still available,

  • Radiation tapering is corrected. It is based on a new attribute FieldScaling added to all magnet passmethods,

  • New elements are available: "beamloading cavity", "energy loss".

  • A set of new "exact" integrators is introduced: ExactDriftPass, ExactMultipolePass, ExactSectorBendPass, ExactRectangularBendPass.

  • The physical constants used in the C integrators have been updated to the CODATA 2018 values. The values used in python come form scipy.constants and were already up-to-date. So because of an update of the Cγ constant,

    results related to radiation and slightly different from the previous values.

New features

Bug fixes

  • Fix the creation of .mat files by @lfarv in #627
  • deprecates ncpu; use pool_size by @oscarxblanco in #631
  • Remove a deprecation warning in numpy 1.25 by @lfarv in #626
  • Remove the warning when calling plot_beta in transfer line mode by @lfarv in #638
  • Correct the axis definition in plot_sigma by @lfarv in #648
  • The DPStep keyword in linopt6 raises an error for 4D lattices by @lfarv in #651
  • Remove collective passes from internal lattice_pass by @swhite2401 in #650
  • Fix attribute names in Simple Ring by @lcarver in #655
  • Error parsing args for twiss_in and r_4d by @lcarver in #662
  • Collective bugfix by @lcarver in #664
  • Parallel lattice_track bugfix and help by @swhite2401 in #675

New Contributors

Full Changelog: pyat-0.4.0...pyat-0.5.0