PyAT 0.5.0
Main changes
-
A new cleaner interface for tracking is introduced: the new functions
lattice_track
andelement_track
, and the equivalent methodsLattice.track
andElement.track
, replacelattice_pass
,element_pass
andpatpass
. 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
- Scattering rate by @swhite2401 in #624
- Introduction of an "energy loss" element by @lfarv in #632
- refpts offset for acceptance by @swhite2401 in #639
- New interface to tracking functions by @swhite2401 in #608
- Display the name of selected elements in plots by @lfarv in #641
- Chromatic functions extended by @swhite2401 in #644
- Correct Dipole tapering by @swhite2401 in #623
- Simple ring model by @lcarver in #643
- Add passive beamloading cavity by @lcarver in #586
- Optimize atimplib by @swhite2401 in #658
- New integrators: ExactDriftPass, ExactMultipolePass by @lfarv in #581
- Create BndStrMPoleSymplectic4RadPass by @catohxb in #665
- parallelize get_tunes_harmonic by @swhite2401 in #681
- Update and centralize the C constants by @JeanLucPons in #691
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
- @oscarxblanco made their first contribution in #631
- @catohxb made their first contribution in #665
- @JeanLucPons made their first contribution in #691
Full Changelog: pyat-0.4.0...pyat-0.5.0