Version 0.8
🚀 With this release, xplt becomes part of the xsuite package.
The documentation is now located at https://xsuite.github.io/xplt
New & improved features
- Smoothing for FFT
- Support of time-series data for SpillQualityPlot, SpillQualityTimescalePlot, TimeFFTPlot and TimeBinPlot
- Automatic resolution for
KnlPlot
with precise element edges - Annotations for axlines and axspans
- Improved default styles
- Improved documentation and error messages
API changes (breaking)
TimeVariationPlot
renamed toSpillQualityPlot
and dropped parameterscounting_bins
andevaluate_bins
(usecounting_dt
andevaluate_dt
instead)TimeVariationScalePlot
renamed toSpillQualityTimescalePlot
- Removed
line_length
parameter inKnlPlot
as it is no longer required - For various time plots: use
timeseries=xplt.Timeseries(data, dt=1/fs)
instead oftimeseries=data, timeseries_fs=fs
(and likewise dicts with values of this type) - Removed
xplt.timestructure.binned_timesieres
. Usexplt.Timeseries.from_timestamps
instead
Bug fixes
- Fixes for compatibility with latest matplotlib versions by @eltos in #8
- Fix default value for fmax when using timeseries data in TimeFFTPlot
- Fix in ParticlePlots when twiss is a dict
- Fixes when using timeseries data with various time-based plots
Full Changelog: v0.7.2...v0.8.1