Skip to content

Releases: pylhc/omc3

Release 0.16.1

20 Sep 13:43
95024bc
Compare
Choose a tag to compare

This is a patch release, that provides the following fixes.

  • Fixed:

    • Fixed DepracationWarnings related datetime operations.
    • Fixed DeprecationWarning occuring due to the use of old numpy functions.
    • Fixed FutureWarning happening during edge-cases of dataframe concatenation by performing checks ahead of time.
    • Fixed FutureWarnings occuring due to deprecated pandas.Series accesses.
    • Fixed UserWarning occuring when wrongly setting ticks and labels for correction plots.
  • Changed:

    • Masked NaturalNameWarnings happening during HDF5 tables operations, as the use of names such as kq4.r8b2 is not avoidable and pandas properly handles access operations for us.
    • Masked UserWarnings happening during plotting for operations that are explicitely demanded.
    • Intercept RankWarning which can happen during a polyfit of data and re-emit as log message.
    • Intercept OptimizeWarning happening when the covariance parameters could not be estimated in kmod analysis and re-emit as log message.
    • Intercept OptimizeWarning happening when the covariance parameters could not be estimated in rdt analysis and re-emit as log message.

What's Changed

Full Changelog: 0.16.0...0.16.1

Release 0.16.0

18 Sep 12:17
d8c8923
Compare
Choose a tag to compare

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 and MQM_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.
    • Tests for running global_correction with omp and pinv correction methods.
  • Fixed:

    • Orthogonal Matching Pursuit (omp) in global correction runs again (#448)
    • Corrections Check window stop-iteration issue: fixed. Single-plane files, i.e. normalized dispersion, now accepted (#447)
    • LHC Correction variables now logged, if not found in the variable categories (#446)

What's Changed

Full Changelog: 0.15.4...0.16.0

Release 0.15.4

16 Sep 09:33
e22ec2a
Compare
Choose a tag to compare

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 allows pathlib.Path objects in addition to str (#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.

What's Changed

  • Bugfixes: numpy/pandas dtypes, erramp column, path read, special phases by @JoschD in #455

Full Changelog: 0.15.3...0.15.4

Release 0.15.3

09 Sep 15:48
04455a1
Compare
Choose a tag to compare

This is a patch release with minor fixes:

Fixed:

  • Add DOROS BPMs to twiss.dat.
  • Some Pandas FutureWarnings, DeprecationWarnings and PerformanceWarnings

What's Changed

Full Changelog: 0.15.2...0.15.3

Release 0.15.2

19 Aug 16:26
faf1a21
Compare
Choose a tag to compare

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

14 Aug 09:51
33b16a2
Compare
Choose a tag to compare

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 now numpy 1.24.

Fixes

  • The package is now fully compatible with numpy 2.x on Python >= 3.10 thanks to a pytables compatibility release.
  • The package still limits to numpy < 2 on Python 3.9 due to the lack of compatibility from pytables 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

10 Jul 08:38
6953d62
Compare
Choose a tag to compare

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 from lhc
      • removed corrections.madx from lhc 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.

What's Changed

Full Changelog: 0.14.1...0.15.0

Release 0.14.1 Re-Upload

05 Jun 15:36
ac2f489
Compare
Choose a tag to compare

This is a dummy release to trigger publishing of the package to PyPI. See the previous release notes for details.

Release 0.14.1

05 Jun 14:47
ac2f489
Compare
Choose a tag to compare

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

  • Bugfix MQSORG knob naming in beam 2 by @JoschD in #440

Full Changelog: 0.14.0...0.14.1

Release 0.14.0

20 Mar 15:14
2cf93e1
Compare
Choose a tag to compare

Minor release, adding new functionality to the linfile-updater.

  • Added:
    • Linfile Updater: keep-flag to keep names and option to clean manually between limits.

What's Changed

  • Linfile cleaning keep bpms and limit-based cleaning by @JoschD in #439

Full Changelog: 0.13.1...0.14.0