Skip to content

0.7.4

Choose a tag to compare

@jank324 jank324 released this 19 Jun 09:20
· 775 commits to master since this release
02042cf

🚀 Features

  • The new warning system was extended to have more specific subclasses of PhysicsWarning to allow for better and easier filtering of warnings (see #415) (@Hespe, @jank324)
  • Implement an infix notation parser for Bmad and Elegant converters, fixing a potential security issue where eval() could be called on user input. (see #412) (@amylizzle)
  • Improve numerical stability of the base_rmatrix and base_ttensor functions (related to #469) (see #474) (@Hespe, @jank324)
  • Minor speed improvements in base_rmatrix and base_ttensor by reducing memory allocations for constants, and skipping rotation computations when the present tilt has now effect. (see #474) (@Hespe, @jank324)

🐛 Bug fixes

  • Fix issue that base_rmatrix has large error for small k1 values even for double precision (see #469) (@cr-xu)
  • Rework the covariance computation in ParticleBeam.as_parameter_beam to fix an issue that caused the covariance to be computed incorrectly for vectorised beams (see #471) (@cr-xu, @jank324, @Hespe)
  • Unrecognised element properties in Bmad and Elegant lattice files now print a warning instead of exiting with an AssertionError (see #415) (@amylizzle, @jank324)
  • A bug was fixed that caused the Bmad and Elegant importers to incorrectly parse ; line endings and comments starting with # (see #415) (@Hespe, @jank324)
  • The santize_names parameter is now correctly passed to BPM and Marker elements when converting from Elegant (see #473) (@amylizzle)