0.13.3
Enhancements
The
plot_machine_layoutfunction incpymadtools.latwissnow accepts keyword arguments which are transmitted toscattercalls.The
TuneDiagramPlotter.plot_blank_tune_diagramfunction incpymadtools.plottersnow has a figsize argument.
Bug Fixes
All plotting functions in the
cpymadtoolsmodule now haveLaTeX-compatible text elements.The
plot_latwissandplot_machine_surveyfunctions incpymadtools.latwissnow properly detect element types fromTWISStable properties and does not rely on naming anymore.The
plot_machine_layoutfunction incpymadtools.latwissnow correctly scales the colorbar to the full length of the machine and not to 1.The
match_tunes_and_chromaticitiesfunction incpymadtools.matchingnow properly handles being given either only tune targets or only chromaticity targets.The BeamParameters class in
models.beamnow properly builds in all cases and has a__repr__.Fixed some calls to the
SELECTcommand viacpymadwhich might previously have had unintended side effects.
Maintenance
All functions in the
cpymadtoolsmodule which offer the telescopic_squeeze argument now have it default to True to reflect operational scenarios of run III.The
correct_lhc_orbitfunction incpymadtools.orbitnow takes a required sequence positional argument.The
correct_lhc_orbitfunction incpymadtools.orbitnow defaults its mode argument to micado like theCORRECTcommand inMAD-Xdoes.The
AperturePlotter.plot_aperturefunction incpymadtools.plottersnow has a default figsize argument of (13, 20) instead of 15, 15.The minimum required version of
tfs-pandasis now 3.0.0.
See v0.13.3 release notes on GitHub and the full changes since v0.13.2.