Releases: pylhc/omc3
0.18.1
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_madxto 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_twisswhen 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_dppparameter, to analyse only files with a specific DPP for tune, phase and (C)RDTs.
- Optics Measurements:
-
Fixed:
- Uncompensated Phase calculations with
Equationcompensation are now actually uncompensated when passed on to thecouplingmodule.
- 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_extractorin CCC.
- Temporary hack to fix
Release 0.16.1
This is a patch release, that provides the following fixes.
-
Fixed:
- Fixed
DepracationWarnings related datetime operations. - Fixed
DeprecationWarningoccuring due to the use of oldnumpyfunctions. - Fixed
FutureWarninghappening during edge-cases of dataframe concatenation by performing checks ahead of time. - Fixed
FutureWarnings occuring due to deprecatedpandas.Seriesaccesses. - Fixed
UserWarningoccuring when wrongly setting ticks and labels for correction plots.
- Fixed
-
Changed:
- Masked
NaturalNameWarnings happening during HDF5 tables operations, as the use of names such askq4.r8b2is not avoidable andpandasproperly handles access operations for us. - Masked
UserWarnings happening during plotting for operations that are explicitely demanded. - Intercept
RankWarningwhich can happen during apolyfitof data and re-emit as log message. - Intercept
OptimizeWarninghappening when the covariance parameters could not be estimated inkmodanalysis and re-emit as log message. - Intercept
OptimizeWarninghappening when the covariance parameters could not be estimated inrdtanalysis 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_ALLadded to all LHC years. - Variable categories
MQM_INJ_2024andMQM_TOP_2024added 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_correctionwithompandpinvcorrection 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_onenow allowspathlib.Pathobjects 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_onewith 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
FutureWarnings,DeprecationWarnings andPerformanceWarnings
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
ComplexWarningwas 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
numpyversion is nownumpy 1.24.
Fixes
- The package is now fully compatible with
numpy 2.xonPython >= 3.10thanks to apytablescompatibility release. - The package still limits to
numpy < 2onPython 3.9due to the lack of compatibility frompytableson 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