Releases: pylhc/omc3
Release 0.18.0
A minor release, introducing ORBIT_DPP
as parameter for allowing calculations of an effective deltap/p offset caused by a change in orbit for the response matrix and global correction functions.
-
Added:
- Add the ability to calculate an effective deltap/p offset caused by a change in orbit.
- Add the ability to use
response_madx
to calculate the updated response matrix for the global correction. - Tests for the calculation of the deltap/p and corresponding correction.
- Tests for the calculation of the updated response matrix for the global correction.
-
Fixed:
- Fixed the
response_twiss
when updating the response matrix when calculating the global correction.
- Fixed the
What's Changed
New Contributors
Full Changelog: 0.17.0...0.18.0
Release 0.17.0
A minor
release, introducing analyse_dpp
as parameter for choosing which files (with which dpp values) to take into account when running the optics analysis.
This also fixes a bug with the uncompensated phase-advances when using the equation compensation method, which might have caused some minor error in the coupling calculation when using this method.
-
Added:
- Optics Measurements:
analyse_dpp
parameter, to analyse only files with a specific DPP for tune, phase and (C)RDTs.
- Optics Measurements:
-
Fixed:
- Uncompensated Phase calculations with
Equation
compensation are now actually uncompensated when passed on to thecoupling
module.
- Uncompensated Phase calculations with
What's Changed
Full Changelog: 0.16.2...0.17.0
Release 0.16.2
Patch
release to fix an issue with NXCALS
in the CCC when using the knob-extractor.
This change should not impact anyone unless they also have a /mcr/bin/
at the beginning of their PATH
.
- Fixed:
- Temporary hack to fix
knob_extractor
in CCC.
- Temporary hack to fix
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