Skip to content

Releases: xsuite/xplt

Version 0.10.*

17 Sep 16:49
a356bf0
Compare
Choose a tag to compare

This is a maintenance release without functional changes, only requirement updates #10:

python>=3.9
matplotlib>=3.6
numpy>=1.17.0
scipy>=1.2.0
pint>=0.24.1

Full Changelog: v0.9.0...v0.10.0

Version 0.9.*

16 Sep 08:55
Compare
Choose a tag to compare

New & improved features

  • Added interface for adding and working with multiple datasets in plots
  • Added 1D ParticleHistogramPlot
  • Add options for averaging FFTs (in lin and log space). This also significantly improves plotting speeds for $f \gg \text{MHz}$
  • Improved and unified autoscaling, log-scaling
  • More options for annotation location with axlines and axspans
  • Add getter for axis by property name
  • Add "-n" and "-.n" linestyles to mark lines with n dots (e.g. "-1" or "-.2")
  • Improved documentation and examples, add unit tests

API changes

  • Parameter smoothing in FFT plot renamed to welch (using smoothing will issue a warning)

Bug fixes

  • Fix xlabel of TimeFFTPlot if relative=True
  • Fixes for SpillQualityPlot and SpillQualityTimescalePlot with timeseries data
  • Resolve element replicas in FloorPlot in #9 by @giadarol

Full Changelog: v0.8.0...v0.9.0

Version 0.8

01 Aug 16:01
Compare
Choose a tag to compare

🚀 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

Version 0.7.2

16 Apr 07:11
d38034c
Compare
Choose a tag to compare

What's Changed

  • Add LICENSE by @eltos in #3
  • Replace np.float with builtin type float by @milo-gsi in #6
  • Minor fixes

Full Changelog: v0.7.0...v0.7.2

Version 0.7.0

06 Feb 11:16
Compare
Choose a tag to compare
  • Add support for thick elements in Floor Plot by @giadarol
  • More options for FFT Plot
  • Matplotlib stylesheet

Full Changelog: v0.6.0...v0.7.0

Version 0.6.0

03 Jan 15:21
Compare
Choose a tag to compare
  • Improve property handling and introduce derived properties
    • Drops xplt.units module in favour of xplt.properties
    • Drops xplt.register_property method in favour of xplt.register_data_property and xplt.register_derived_property
    • Drops wrap_zeta=True keyword argument in favour of property zeta_wrapped
    • For details, see https://eltos.github.io/xplt/examples/properties.html
  • Improved consistency
    • Make pandas an optional dependency
    • Renamed metric= keyword argument of TimeVariationPlot to kind=

Full Changelog: v0.5.0...v0.6

v0.5.0

16 Oct 11:32
ed6673e
Compare
Choose a tag to compare
  • Update examples to match latest xtrack API
  • Usage improvements and simplification

Full Changelog: v0.4.1...v0.5.0