Release 0.13.0
Release 0.13.0 brings the following:
Changed:
- The
install_ac_dipole
function incpymadtools.special
is now namedinstall_ac_dipole_as_kicker
. Thiskicker
implementation cannot be used to affecttwiss
functions, only particle tracking.
Added:
- An
install_ac_dipole_as_matrix
functioncpymadtools.special
to install an AC Dipole element as amatrix
, which will reflect its effect ontwiss
functions (which the kicker implementation does not). Thismatrix
implementation cannot be used to influence particle tracking.
Fixed:
- The
install_ac_dipole_as_kicker
now properly sets the element location to avoid a negative drift (location taken fromomc3
'smodel_creator
) if the sequence wasn't previously made THIN (which it should). - The
install_ac_dipole_as_kicker
now makes ause, sequence=...
call after installing the element. Beware this means errors, correctors etc that were set / loaded will be lost.