Skip to content

Releases: pylhc/turn_by_turn

Release 0.7.2

11 Oct 11:51
3163c5e
Compare
Choose a tag to compare

This patch release enables the capability to read also the oscillation data from DOROS and the means to switch between positions and oscillations data.

Added:

  • doros_oscillations: Read/write data into the oscillations attributes of the doros-hdf5 file.
  • doros_positions: Read/write data into the positions attributes of the doros-hdf5 file.
  • The original doros-datatype defaults now to oscillations.

What's Changed

  • DOROS: oscillations and positions by @JoschD in #20

Full Changelog: 0.7.1...0.7.2

Release 0.7.1

02 Oct 09:40
4fb38eb
Compare
Choose a tag to compare

In this patch release, the DOROS reader has been updated to handle files that have more entries on the root level than BPMs and METADATA.

  • Changed:
    • Identifying BPMs in DOROS data by having the "nbOrbitSamplesRead" entry.

What's Changed

Full Changelog: 0.7.0...0.7.1

Release 0.7.0

20 Aug 15:59
f75a49c
Compare
Choose a tag to compare

In this release, a reader and writer for DOROS BPMs in hdf5 format has been added.

Changed:

  • Added DOROS hdf5 reader/writer
  • Clean-up of the Documentation

What's Changed

  • Migrate to pyproject.toml and common workflows by @fsoubelet in #17
  • Reader/writer for DOROS BPM data by @JoschD in #18

Full Changelog: 0.6.0...0.7.0

Release 0.6.0

01 Dec 09:59
843dd8b
Compare
Choose a tag to compare

Release 0.6.0 adds to the SPS-module the possibility to remove the trailing planes (.H/.V) from the BPM names upon reading, and adding them back on writing. Both are enabled by default.
This allows compatibility with the MAD-X models.

Added:

  • sps-reader: remove_trailing_bpm_plane removes the trailing plane-suffixes (.H/.V) from the BPM names, if present
  • sps-writer: add_trailing_bpm_plane adds plane-suffixes (.H/.V) to the BPM names, if not already present

Fixed:

  • ascii-reader: returns TbtData-object instead of the individual parts for one.

What's Changed

  • remove trailing planes from sps data by @JoschD in #16

Full Changelog: 0.5.0...0.6.0

Release 0.5.0

05 Jun 13:57
0cdccf9
Compare
Choose a tag to compare

Release 0.5.0 adds functionality for the loading of tracking simulation data in the trackone module.

Important: With this release the minimum supported Python version is upped to 3.8

Added:

  • A new class, TrackingData, was added to turn_by_turn.structures which is similar to TransverseData but holds all 8 dimensions (X, PX, Y, PY, T, PT, S, E).
  • The read_tbt function in turn_by_turn.trackone has a new boolean argument, is_tracking_data, to specify data should be loaded with this new class. Default behavior is unchanged.
  • The numpy_to_tbt function in turn_by_turn.utils, which handles the loading, has a need argument to specify the datatype to load into. Default behavior is unchanged.
  • The generate_average_tbtdata function in turn_by_turn.utils handles the new class.

Fixed:

  • The fieldnames method in TransverseData and TrackingData is now a classmethod and is properly called.

What's Changed

Full Changelog: 0.4.2...0.5.0

Release 0.4.2

21 Sep 12:35
cbcedd8
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.