New & improved features
- TwissPlot
- Add option to plot apertures onto twiss plot
- Add support for beam envelope, beam size and other data from
twiss.get_beam_covariance
- FloorPlot
- Add support for vertical bends and ZY projection
- Use new information from additional columns in survey table, passing the line object is no longer needed for most cases
- Improve element colouring in
FloorPlot
, handle more element types and also skew components, multipoles are now coloured by lowest non-zero order (only if passing line object explicitly) - Keep default boxes when customizing
FloorPlot
(usedefault_boxes=False
to restore the previous behaviour) - Show zero length elements as narrow line only
- Improve handling of survey data
- Add support for RBend by @giadarol in #68
- Consider also skew components for element order and add unit test
- Add utility for discontinuous axis scales, see user guide
API changes
- Make dataset ID optional (if omitted, a UUID will be generated)
Bug fixes
v0.11.1
Fix of FloorPlot wedges being offset #49v0.11.1
Fix in FloorPlot bend recognition to support Views #49v0.11.6
Avoid timeseries data to be interpreted as particle counts when plotting particle rate #67v0.11.9
Fix minimum required matplotlib version is 3.7 #77v0.11.10
Fix virtual sextupole util for thick elements #78v0.11.11
Restore compatibility with matplotlib 3.6 #79v0.11.12
Honorcounting_bins_per_evaluation
inSpillQualityTimescalePlot
auto limits #85v0.11.13
Fix dtypes and pytest compatibility #88
Dependencies
- From this release on, pint is an optional (but still highly recommended) dependency. Without pint, all unit-conversion features are disabled! For new installations, it is recommended to use
pip install xplt[recommended]
.
Full Changelog: v0.10.5...v0.11.7