Releases: desy-ml/cheetah
Releases · desy-ml/cheetah
0.6.0
🚨 Breaking Changes
- Cheetah elements are now subclasses of
torch.nn.Module, where the parameters should always betorch.Tensor. This makes cheetah a fully differentiable simulation code. (see #11) - The
cellkeyword argument ofcheetah.Segmenthas been renamed toelements. - Element and beam parameters must now always be passed to the constructor or set afterwards as a
torch.Tensor. It is no longer possible to usefloat,intornp.ndarray. (see #11)
🚀 Features
- Convert from Bmad lattices files (see #65) (@jank324)
- Add proper transfer map for cavity (see #65) (@jank324, @cr-xu)
- Twiss parameter calculation and generate new beam from twiss parameter (see #62) (@jank324, @cr-xu)
- Saving and loading lattices from LatticeJSON (see #9) (@cr-xu)
- Nested
Segments can now be flattened (@jank324) - Ocelot converter adds support for
Cavity,TDCavity,Marker,Monitor,RBend,SBend,ApertureandSolenoid(see #78) (@jank324)
🐛 Bug fixes
- Fix dependencies on readthedocs (see #54) (@jank324)
- Fix error when tracking
ParameterBeamthrough segment on CPU (see #68) (@cr-xu)
🐆 Other
0.5.19
🚀 Features
- Better error messages when beam and accelerator devices don't match (@FelixTheilen)
🐛 Bug fixes
- Fix BPM issue with
ParameterBeam(@FelixTheilen) - Fix wrong screen reading dimensions (@cr-xu)
🐆 Other
- Improve docstrings (@FelixTheilen)
- Implement better testing with pytest (@FelixTheilen)
- Setup formatting with
blackandisortas well asflake8listing (@cr-xu) - Add type annotations (@jank324)
- Setup Sphinx documentation on readthedocs (@jank324)
0.5.18
0.5.17
0.5.16
0.5.15
🚀 New Features
- Ocelot has been removed as a mandatory dependency and is now only needed when someone wants to convert from Ocelot objects.
🐛 Bug Fixes
- An error that only packages with all dependencies available on PyPI can be installed from PyPI has been fixed.