Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.09 KB

CHANGELOG.md

File metadata and controls

51 lines (37 loc) · 2.09 KB

Changelog

All notable changes to OCELOT will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. (Not yet, maybe it won't. Versioning is based on year.month.day.

Changed

  • The CSR class now gives an explicit logging error when failing in arcline and a more useful explanation. This error often occurs because the user has mixed CSR for vertical bends with horizontal bends.

Added

  • New properties on ParticleArrray, beta and gamma, providing the relativistic properties of each particle.
  • New method sort on ParticleArray for possibly sorting in place with respect to one of the properties or functions (e.g. beta, x, p0c, etc.) returning the indices that sort the ParticleArray.
  • Implementation of __len__ for ParticleArray which simply returns the number of particles it contains. Identical in function to size.
  • get_envelope now also calculates the normalised emittances emit_xn and emit_yn, not just the geometric ones, as was previously the case.
  • Added overwrite_progress kwarg to cpbd.track.track function which allows tracking progress to optionally be written on new lines rather than overwritten repeatedly using carriage returns. This is particularly useful when logging the output of a running ocelot simulation to avoid extremely long lines and unreadable log files.
  • Inactive processes in Navigator instances are now stored in the inactive_proccses attribute. This way processes attached to a Navigator remain accessible in that for the lifetime of the Navigator.
  • New ParameterScanner class in cpbd.track for scanning arbitrary parameters in parallel (either using multiprocessing mpi4py). For example one might scan different compression schemes. Results are compiled into a single hdf5 file.

Fixed

  • None yet.

Removed

  • None yet.

Deprecated

  • None yet.