You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
🚨 Breaking Changes
Replace the Segment.plot_reference_particle_traces with a clearer visualisation in the for of Segment.plot_mean_and_std. This also changes the plot generated by the Segment.plot_overview method. (see #392) (@RemiLehe)
The order of the pixels in Screen.reading was changed to start from the bottom left instead of the top left. This is now consistent with the Screen.pixel_bin_centers and Screen.pixel_bin_edges properties. (see #408) (@jank324)
🚀 Features
Implement split method for the Solenoid element (see #380) (@cr-xu)
Implement a more robust RPN parser, fixing a bug where short strings in an Elegant variable definition would cause parsing to fail. (see #387, #417) (@amylizzle, @Hespe, @jank324)
Fix issue where semicolons after an Elegant line would cause parsing to fail (see #383) (@amylizzle)
Fix Twiss plot to plot samples also after elements in nested (see #388) (@RemiLehe)
Fix issue where generating screen images did not work on GPU because Screen.pixel_bin_centers was not on the same device (see #372) (@roussel-ryan, @jank324)
Fix issue where Quadrupole.tracking_method was not preserved on cloning (see #404) (@RemiLehe, @jank324)
The vertical screen misalignment is now correctly applied to y instead of px (see #405) (@RemiLehe)
Fix issues when generating screen images caused by the sign of particle charges (see #394) (@Hespe, @jank324)
Fix an issue where newer versions of torch only accept a torch.Tensor as input to torch.rad2deg (see #417) (@jank324)
Fix bug that caused correlations to be lost in the conversion from a ParameterBeam to a ParticleBeam (see #408) (@jank324, @Hespe)
🐆 Other
Temporarily limit torch dependency to 2.6 or lower to avoid abort trap: 6 error with 2.7 (at least on macOS) (see #419) (@jank324)