Version 0.11.*
Pre-release
Pre-release
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
- Consider also skew components for element order and add unit test
- Add utility for discontinuous axis scales
API changes
- Make dataset ID optional (if omitted, a UUID will be generated)
Bug fixes
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[full]
.
Full Changelog: v0.10.5...v0.11.3-rc6