Skip to content

Version 0.8

Compare
Choose a tag to compare
@eltos eltos released this 01 Aug 16:01
· 270 commits to main since this release

🚀 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 to SpillQualityPlot
    and dropped parameters counting_bins and evaluate_bins (use counting_dt and evaluate_dt instead)
  • TimeVariationScalePlot renamed to SpillQualityTimescalePlot
  • Removed line_length parameter in KnlPlot as it is no longer required
  • For various time plots: use timeseries=xplt.Timeseries(data, dt=1/fs) instead of timeseries=data, timeseries_fs=fs (and likewise dicts with values of this type)
  • Removed xplt.timestructure.binned_timesieres. Use xplt.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