Release 0.14.0
Release 0.14.0 brings significant API changes, some of them backwards-incompatible.
Changed:
- Functions from the
cpymadtools.latwiss
module have into a class namedLatticePlotter
in thecpymadtools.plotters
module. - The old
AperturePlotter
class in thecpymadtools.plotters
module has been renamed toBeamEnvelopePlotter
to reflect its role, and functions in this class have also been renamed accordingly. - The old
TuneDiagramPlotter.plot_blank_tune_diagram
function in thecpymadtools.plotters
module has replaced theTuneDiagramPlotter.plot_tune_diagram
function and taken its name. - The
phd
matplotlib style has a new setting forlegend.framealpha
set at 0.9.
Added:
- A new
AperturePlotter
class in thecpymadtools.plotters
module replacing the old one, with functionality to plot the aperture tolerances as calculated from theAPERTURE
command inMAD-X
, jointly with the lattice layout. - A
CrossingSchemePlotter
class in thecpymadtools.plotters
module, with functionality to plot the orbit crossings at LHC IPs. - The new
TuneDiagramPlotter.plot_tune_diagram
function in thecpymadtools.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 thecpymadtools.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.