Version 0.11.*
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=Falseto 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.1Fix of FloorPlot wedges being offset #49v0.11.1Fix in FloorPlot bend recognition to support Views #49v0.11.6Avoid timeseries data to be interpreted as particle counts when plotting particle rate #67v0.11.9Fix minimum required matplotlib version is 3.7 #77v0.11.10Fix virtual sextupole util for thick elements #78v0.11.11Restore compatibility with matplotlib 3.6 #79v0.11.12Honorcounting_bins_per_evaluationinSpillQualityTimescalePlotauto limits #85v0.11.13Fix dtypes and pytest compatibility #88v0.11.14Fix for slice elements in floor plot #90
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.14