Releases: pylhc/omc3
Release 0.16.1
This is a patch
release, that provides the following fixes.
-
Fixed:
- Fixed
DepracationWarning
s related datetime operations. - Fixed
DeprecationWarning
occuring due to the use of oldnumpy
functions. - Fixed
FutureWarning
happening during edge-cases of dataframe concatenation by performing checks ahead of time. - Fixed
FutureWarning
s occuring due to deprecatedpandas.Series
accesses. - Fixed
UserWarning
occuring when wrongly setting ticks and labels for correction plots.
- Fixed
-
Changed:
- Masked
NaturalNameWarning
s happening during HDF5 tables operations, as the use of names such askq4.r8b2
is not avoidable andpandas
properly handles access operations for us. - Masked
UserWarning
s happening during plotting for operations that are explicitely demanded. - Intercept
RankWarning
which can happen during apolyfit
of data and re-emit as log message. - Intercept
OptimizeWarning
happening when the covariance parameters could not be estimated inkmod
analysis and re-emit as log message. - Intercept
OptimizeWarning
happening when the covariance parameters could not be estimated inrdt
analysis and re-emit as log message.
- Masked
What's Changed
- Fix Various Warnings by @fsoubelet in #460
Full Changelog: 0.16.0...0.16.1
Release 0.16.0
This is a minor
release, with the following features:
-
Added:
- Global Correction for LHC:
- The correction variables in the LHC accelerator class are now handled differently internally,
allowing new variable classes to be added to each lhc-year and user-given files in the model-directory. - Variable categories
MQM_ALL
added to all LHC years. - Variable categories
MQM_INJ_2024
andMQM_TOP_2024
added to LHC 2024. - Adding a "-" in front of a given correction variable name removes this variable from the correction. Does not work for whole variable categories.
- The correction variables in the LHC accelerator class are now handled differently internally,
- Tests for running
global_correction
withomp
andpinv
correction methods.
- Global Correction for LHC:
-
Fixed:
What's Changed
Full Changelog: 0.15.4...0.16.0
Release 0.15.4
This is a patch
release, that provides the following fixes:
-
Fixed:
- Measure optics skips now using the ERRAMP column, when not present, i.e. when cleaning deactivated (#451)
hole_in_one
now allowspathlib.Path
objects in addition tostr
(#452)- Pandas to numpy dtype conversions bug (#453).
- Special phases writing now skipped when accelerator has no special phases (#454).
- RDT/CRDT calculation now not crashing when also giving off-momentum files; but only calculated from on on-momentum files (#456).
-
Added:
- Tests for full runs
hole_in_one
with on-momentum and off-momentum files.
- Tests for full runs
What's Changed
Full Changelog: 0.15.3...0.15.4
Release 0.15.3
This is a patch
release with minor fixes:
Fixed:
- Add DOROS BPMs to
twiss.dat
. - Some Pandas
FutureWarning
s,DeprecationWarning
s andPerformanceWarning
s
What's Changed
Full Changelog: 0.15.2...0.15.3
Release 0.15.2
Release 0.15.2
is a patch version fixing compatibility with numpy
2.x by importing ComplexWarning
differently.
Fixed
- Numpy's
ComplexWarning
was not part of main namespace in v2.0, so we import it directly
What's Changed
Full Changelog: 0.15.1...0.15.2
Release 0.15.1
Release 0.15.1
is a patch version fixing compatibility with numpy 2.x. Please note there is a caveat (read below) on Python 3.9.
Important Changes:
- The minimum required
numpy
version is nownumpy 1.24
.
Fixes
- The package is now fully compatible with
numpy 2.x
onPython >= 3.10
thanks to apytables
compatibility release. - The package still limits to
numpy < 2
onPython 3.9
due to the lack of compatibility frompytables
on this versions.
What's Changed
- Migrate to pyproject.toml and common workflows, update for numpy 2.0 by @fsoubelet in #442
Full Changelog: 0.15.0...0.15.1
Release 0.15.0
In this release numpy
is pinned to < 2.0.0 until the new version is supported by pytables
.
- Changed:
- Model creation:
- removed hard-coded
knobs.madx
fromlhc
- removed
corrections.madx
fromlhc
best-knowledge model - zip up log-output files in
response_madx.py
- keep 0th output file in
response_madx.py
for reference of the model setup - Sequence and modifiers use the acc-models symlink in madx-jobs where applicable.
- removed hard-coded
- Model creation:
What's Changed
Full Changelog: 0.14.1...0.15.0
Release 0.14.1 Re-Upload
This is a dummy release to trigger publishing of the package to PyPI
. See the previous release notes for details.
Release 0.14.1
This is the first release, not tested for python 3.8 anymore, as this is close to EoL and caused some issues on the MacOS github runners with pytables/hdf5. That does not mean it will not run with python 3.8 anymore, just that we do not test for it from now on.
This is a patch
release, fixing a bug with the MQS knob naming in LHC Beam 2.
Fixed:
- LHC Knobs: Fixed typo "MQSOR" to "MQSORG" in LHC Beam 2 coupling knobs.
What's Changed
Full Changelog: 0.14.0...0.14.1
Release 0.14.0
Minor release, adding new functionality to the linfile-updater.
- Added:
- Linfile Updater:
keep
-flag to keep names and option to clean manually between limits.
- Linfile Updater:
What's Changed
Full Changelog: 0.13.1...0.14.0