Turn-by-turn

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

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

0.4.1

This is a bugfix release.

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

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/turn_by_turn/compare/0.3.0...0.4.0

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/turn_by_turn/pull/4
* Update CI by fsoubelet in https://github.com/pylhc/turn_by_turn/pull/5
* add seeding of the rng for noise by awegsche and fsoubelet in https://github.com/pylhc/turn_by_turn/pull/6


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

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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.