Releases: pylhc/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 tooscillations
.
What's Changed
Full Changelog: 0.7.1...0.7.2
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.
- Identifying BPMs in DOROS data by having the
What's Changed
Full Changelog: 0.7.0...0.7.1
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 #17
- Reader/writer for DOROS BPM data by @JoschD in #18
Full Changelog: 0.6.0...0.7.0
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
Full Changelog: 0.5.0...0.6.0
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 toturn_by_turn.structures
which is similar toTransverseData
but holds all 8 dimensions (X
,PX
,Y
,PY
,T
,PT
,S
,E
). - The
read_tbt
function inturn_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 inturn_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 inturn_by_turn.utils
handles the new class.
Fixed:
- The
fieldnames
method inTransverseData
andTrackingData
is now aclassmethod
and is properly called.
What's Changed
- Worfklows update by @fsoubelet in #15
- New sim data by @fscarlier in #13
Full Changelog: 0.4.2...0.5.0
Release 0.4.2
A patch release, that now allows the ASCII module to be accessed directly from the main read/write functionality
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)
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'sSPS
data files.
Fixed:
TbTData
creation now handles emptybunch_ids
.- Writing to file now properly handles the
.sdds
suffix addition (or not) based on the providedoutput_path
argument.
Changed:
- The
turn_by_turn.utils.numpy_to_tbts
function was renamednumpy_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
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 #4
- Update CI by @fsoubelet in #5
- add seeding of the rng for noise by @awegsche and @fsoubelet in #6
Full Changelog: 0.2.1...0.3.0
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.