Skip to content

Releases: pylhc/turn_by_turn

Release 0.4.2

21 Sep 12:35
cbcedd8

Choose a tag to compare

A patch release, that now allows the ASCII module to be accessed directly from the main read/write functionality

Release 0.4.1

21 Sep 11:48
797efbe

Choose a tag to compare

This is a bugfix release.

  • Less strict checking for ASCII-File format (only a # in the first line is now required)

Release 0.4.0

12 Sep 18:51
5d87623

Choose a tag to compare

Release 0.4.0 adds new functionality, reorganises the package's internal logic (in a backwards-compatible way) and fixes a few issues.

Added:

  • A new module, turn_by_turn.sps, that provides a reader and writer for CERN's SPS data files.

Fixed:

  • TbTData creation now handles empty bunch_ids.
  • Writing to file now properly handles the .sdds suffix addition (or not) based on the provided output_path argument.

Changed:

  • The turn_by_turn.utils.numpy_to_tbts function was renamed numpy_to_tbt.
  • The ascii writer was moved to its own module, and can be accessed as turn_by_turn.ascii.

Full Changelog: 0.3.0...0.4.0

Release 0.3.0

11 May 18:44
9741491

Choose a tag to compare

Release 0.3.0 adds the possibility to specify a seed when adding noise to a TbtData object when writing.

What's Changed

Full Changelog: 0.2.1...0.3.0

Release 0.2.1

03 Nov 11:17
9e55a45

Choose a tag to compare

Release 0.2.1 is a minor patch guaranteeing that TbtData objects are properly instantiated with a default date field (defaulting to Today, UTC equivalent) even when date=None is passed to the constructor.

Release 0.2.0

28 Oct 11:24
bd351fa

Choose a tag to compare

Release 0.2.0 fixes an import problem arising in the previous versions, where when importing the user would get

ImportError: turn_by_turn.readers does not exist

Please note that for this fix, modules previously in turn_by_turn.readers are now directly located in turn_by_turn.
We apologise for the inconvenience.

Release 0.1.3

08 Oct 12:25
9e854a7

Choose a tag to compare

Release 0.1.3 has no functionality change but fixes the setup so that setuptools properly finds the package when installing from PyPI.

Release 0.1.0

07 Oct 15:29
6056b16

Choose a tag to compare

Release 0.1.0 is an extract of this code from the omc3 package, with a cleanup and rework.

Functionality includes:

  • Custom dataclasses for transverse data and complete turn-by-turn measurement data of multiple bunches (TransverseData and TbtData classes).
  • Read functionality from several formats: ESRF, IOTA and LHC machines, PTC and trackone (MAD-X) codes.
  • Write functionality in the LHC's SDDS format.
  • Custom exceptions.
  • Utilities to manipulate tbt data.