Recent Releases of turn_by_turn

turn_by_turn - Release 0.9.0

What's Changed

  • Xsuite Conversion to Tbt Objects by @jgray-19 in https://github.com/pylhc/turnbyturn/pull/23

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.8.0...0.9.0

- Python
Published by jgray-19 8 months ago

turn_by_turn - Release 0.8.0

What's Changed

  • Convert MAD-NG track to TBT data by @jgray-19 in https://github.com/pylhc/turnbyturn/pull/21

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.7.2...0.8.0

- Python
Published by jgray-19 about 1 year ago

turn_by_turn - Release 0.7.2

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 https://github.com/pylhc/turnbyturn/pull/20

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.7.1...0.7.2

- Python
Published by JoschD over 1 year ago

turn_by_turn - Release 0.7.1

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

  • Update Doros for new entries by @JoschD in https://github.com/pylhc/turnbyturn/pull/19

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.7.0...0.7.1

- Python
Published by JoschD over 1 year ago

turn_by_turn - Release 0.7.0

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 https://github.com/pylhc/turnbyturn/pull/17
  • Reader/writer for DOROS BPM data by @JoschD in https://github.com/pylhc/turnbyturn/pull/18

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.6.0...0.7.0

- Python
Published by JoschD over 1 year ago

turn_by_turn - Release 0.6.0

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 https://github.com/pylhc/turnbyturn/pull/16

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.5.0...0.6.0

- Python
Published by JoschD about 2 years ago

turn_by_turn - Release 0.5.0

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

  • Worfklows update by @fsoubelet in https://github.com/pylhc/turnbyturn/pull/15
  • New sim data by @fscarlier in https://github.com/pylhc/turnbyturn/pull/13

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.4.2...0.5.0

- Python
Published by fsoubelet over 2 years ago

turn_by_turn - Release 0.4.2

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

- Python
Published by JoschD over 3 years ago

turn_by_turn - Release 0.4.1

This is a bugfix release.

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

- Python
Published by JoschD over 3 years ago

turn_by_turn - Release 0.4.0

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: https://github.com/pylhc/turnbyturn/compare/0.3.0...0.4.0

- Python
Published by fsoubelet over 3 years ago

turn_by_turn - Release 0.3.0

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

What's Changed

  • Feature: conda-forge by @fsoubelet in https://github.com/pylhc/turnbyturn/pull/4
  • Update CI by @fsoubelet in https://github.com/pylhc/turnbyturn/pull/5
  • add seeding of the rng for noise by @awegsche and @fsoubelet in https://github.com/pylhc/turnbyturn/pull/6

Full Changelog: https://github.com/pylhc/turnbyturn/compare/0.2.1...0.3.0

- Python
Published by fsoubelet almost 4 years ago

turn_by_turn - Release 0.2.1

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.

- Python
Published by fsoubelet over 4 years ago

turn_by_turn - Release 0.2.0

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.

- Python
Published by fsoubelet over 4 years ago

turn_by_turn - Release 0.1.3

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

- Python
Published by fsoubelet over 4 years ago

turn_by_turn - Release 0.1.0

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.

- Python
Published by fsoubelet over 4 years ago