Accelerator Toolbox
A new keyword df
is introduced to specify to specify off-momentum computation, in addition to dp
and dct
. It is available in atsetcavity
, findorbit*
, findm44
, atlinopt*
, tunechrom
,
Radiation tapering can be set using attapering
. Tapering is based on a new attribute FieldScaling
added to all magnet passmethods,
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.
AtGetRingProperties
by @lfarv in https://github.com/atcollab/at/pull/701
Full Changelog: https://github.com/atcollab/at/compare/2.4...2.5
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.
Full Changelog: https://github.com/atcollab/at/compare/pyat-0.4.0...pyat-0.5.0
This releases introduces:
refpts
to string patterns, regular expressions, None
, All
, End
special valuesFull Changelog: https://github.com/atcollab/at/compare/pyat-0.3.0...pyat-0.4.0
The default passmethod for RF cavities is now RFCavityPass
instead of CavityPass
Introduction of wake elements: WakeElement
, ResonatorElement
, LongResonatorElement
, ResWallElement
,
Lifetime and dynamic aperture calculations,
new Lattice.reduce
method,
Some badly named functions and methods now have aliases with more meaningful names:
legacy name | new name |
---|---|
Lattice.radiation_on |
Lattice.enable_6d |
Lattice.radiation_off |
Lattice.disable_6d |
Lattice.radiation |
Lattice.is_6d |
@check_radiation |
@check_6d |
@set_radiation |
@set_6d |
From now on, it is recommended to use the new names.
Computation and plot of the lattice geometry
Full Changelog: https://github.com/atcollab/at/compare/pyat-0.2.2...pyat-0.3.0
Full Changelog: https://github.com/atcollab/at/compare/2.3...2.4
atlinopt6
replaces atlinopt
in some optics function: atplot
, atfittune
, atfitchrom
,…
This allows working with 6D lattices. However there are still many functions still using atlinopt
. The transition will be continued,atGetRingProperties
and atSetRingProperties
handle global lattices parameters (energy, periodicity, particle, harmonic number). They are stored in the optional RingParam lattice element. Its use is now recommended since it avoids lengthy searches when a parameter is requested,atloadlattice
makes reading lattice files easier,RFCavityPass
instead of CavityPass
. CavityPass
is still available but should not be used: it is wrong for multi-tune tracking if the RF frequency is not the nominal one.Full Changelog: https://github.com/atcollab/at/compare/2.0...2.3
Full Changelog: https://github.com/atcollab/at/compare/pyat-0.2.1...pyat-0.2.2
Full Changelog: https://github.com/atcollab/at/compare/pyat-0.2.0...pyat-0.2.1