0.8.2

Enhancements

  • Added a maths.utils module with convenience functions related to magnitude.

  • Added a optics.ripken module with functions to calculate beam size according to Lebedev and Bogacz’s formalism.

  • Added a convenience logging setup function in utils.defaults.

  • plot_latwiss now adds a legend for different elements in the layout.

  • plot_latwiss can now optionally plot BPM patches.

  • plot_latwiss now accepts kwargs that will be transmitted to the layout plotting function.

Bug Fixes

  • get_pattern_twiss now properly capitalizes variable names in the returned TfsDataFrame.

  • plot_latwiss now only draws elements in the desired area when xlimits is provided, for a drastic speedup on big machines.

Maintenance

  • The PLOT_PARAMS have been moved to utils.defaults.

  • The get_pattern_twiss default argument values now select the entire twiss table.

  • plot_latwiss changed the parameter plot_sextupoles to k2l_lim, creating a dedicated axis for sextupole patches in the layout.

  • The plotting.settings module has been removed.

  • plot_latwiss doesn’t force the PDF format when saving the figure anymore.

See v0.8.2 release notes on GitHub and the full changes since v0.8.1.