Release 0.14.0 brings significant API changes, some of them backwards-incompatible.
Changed:
- Functions from the `cpymadtools.latwiss` module have into a class named `LatticePlotter` in the `cpymadtools.plotters` module.
- The old `AperturePlotter` class in the `cpymadtools.plotters` module has been renamed to `BeamEnvelopePlotter` to reflect its role, and functions in this class have also been renamed accordingly.
- The old `TuneDiagramPlotter.plot_blank_tune_diagram` function in the `cpymadtools.plotters` module has replaced the `TuneDiagramPlotter.plot_tune_diagram` function and taken its name.
- The `phd` matplotlib style has a new setting for `legend.framealpha` set at 0.9.
Added:
- A new `AperturePlotter` class in the `cpymadtools.plotters` module replacing the old one, with functionality to plot the aperture tolerances as calculated from the `APERTURE` command in `MAD-X`, jointly with the lattice layout.
- A `CrossingSchemePlotter` class in the `cpymadtools.plotters` module, with functionality to plot the orbit crossings at LHC IPs.
- The new `TuneDiagramPlotter.plot_tune_diagram` function in the `cpymadtools.plotters` module is now more customisable, can be given a title, a figure size, add legends, differentiate between resonance lines of different orders and given a specific order up to which to plot resonance lines.
Removed:
- The `cpymadtools.latwiss` module has been removed.
- The old `TuneDiagramPlotter.plot_blank_tune_diagram` function in the `cpymadtools.plotters` module has been removed.
**Note:** the class currently named `DynamicAperturePlotter` in the `cpymadtools.plotters` module is misleadingly named and will be renamed in a future release.