Turn-by-turn

Latest version: v0.7.2

Safety actively analyzes 687732 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

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/turn_by_turn/pull/20


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

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/turn_by_turn/pull/19


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

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


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

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/turn_by_turn/pull/16


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

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/turn_by_turn/pull/15
* New sim data by fscarlier in https://github.com/pylhc/turn_by_turn/pull/13


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

0.4.2

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

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.