Recent Releases of omc3

omc3 - Release 0.24.5

This is a patch release to fix the segment-by-segment dispersion.

In the meantime the code has changed quite a bit to comply with pep and linting rules (see the pyproject.toml), which should be transparent for the user.

  • Fixed/Added:
    • Segement-by-Segment dispersion propagation by adding momentum dispersion propagable.

What's Changed

  • Maintenance - Set pytestimport mode by @fsoubelet in https://github.com/pylhc/omc3/pull/514
  • Working uv settings by @fsoubelet in https://github.com/pylhc/omc3/pull/518
  • Fix docs and tests to be in GeV by @jgray-19 in https://github.com/pylhc/omc3/pull/520
  • Tightening the screws, part 1 by @fsoubelet in https://github.com/pylhc/omc3/pull/519
  • Tightening the screws, part 2 by @fsoubelet in https://github.com/pylhc/omc3/pull/521
  • Tightening the screws, part 3 by @fsoubelet in https://github.com/pylhc/omc3/pull/531
  • Adding Linting Commit to Git-Rev File and Removing CodeClimate Badges by @fsoubelet in https://github.com/pylhc/omc3/pull/544
  • SbS Dispersion Fix (local) by @JoschD in https://github.com/pylhc/omc3/pull/516

Full Changelog: https://github.com/pylhc/omc3/compare/0.24.4...0.24.5

- Python
Published by JoschD 6 months ago

omc3 - Release 0.24.4

This is a patch release fixing some filename issues in the SuperKEKB accelerator class.

  • Fixed:
    • Correct element regex and fixes for SuperKEKB.

What's Changed

  • Redo the KEK-specific bugfixes by @wvangoet in https://github.com/pylhc/omc3/pull/511
  • Version and changelog bump, lint fixes in README (plus collapsible sections) by @fsoubelet in https://github.com/pylhc/omc3/pull/513

New Contributors

  • @wvangoet made their first contribution in https://github.com/pylhc/omc3/pull/511

Full Changelog: https://github.com/pylhc/omc3/compare/0.24.3...0.24.4

- Python
Published by fsoubelet 10 months ago

omc3 - Release 0.24.3

This is a patch release fixing some filename issues in the kmod imbalance output by including the IPs into the filename.

  • Fixed:
    • kmod_lumi_imbalance added IPs to output names.

What's Changed

  • Kmod lumi imablance: IP Naming by @JoschD in https://github.com/pylhc/omc3/pull/507

Full Changelog: https://github.com/pylhc/omc3/compare/0.24.2...0.24.3

- Python
Published by JoschD 10 months ago

omc3 - Release 0.24.2

This is a patch release, updating the knob_extractor script with 2025 knobs.

  • Fixed:
    • knob_extractor added new knobs for 2025.

What's Changed

  • Knob extractor 2025 by @JoschD in https://github.com/pylhc/omc3/pull/505

Full Changelog: https://github.com/pylhc/omc3/compare/0.24.1...0.24.2

- Python
Published by JoschD 10 months ago

omc3 - Release 0.24.1

This patch release adds the corrector lists for 2025.

  • Added:
    • Corrector lists for 2025.
    • Added kqt13.l7b1 to the main MQT correctors list.
    • lhc_corrector_list_check: Checks LHC-sequence against the corrector lists.

What's Changed

  • Ruff configuration by @fsoubelet in https://github.com/pylhc/omc3/pull/502
  • Global corrector lists 2025 by @JoschD in https://github.com/pylhc/omc3/pull/481

Full Changelog: https://github.com/pylhc/omc3/compare/0.24.0...0.24.1

- Python
Published by JoschD 11 months ago

omc3 - Release 0.24.0

This minor release adds basic coupling and dispersion propagation to the Segment-by-Segment functionality. It should be noted, that, while the coupling forward propagation works very well, there are some issues with the backward propagation and the dispersion. See #498

Added: - Additional Propagables: Dispersion and Coupling.

What's Changed

  • Sbs Coupling Propagation by @JoschD in https://github.com/pylhc/omc3/pull/491

Full Changelog: https://github.com/pylhc/omc3/compare/0.23.1...0.24.0

- Python
Published by JoschD 11 months ago

omc3 - Release 0.23.1

This is a patch release bugfixing issues with kmod using elements not in the twiss_elements

  • Changed:
    • twiss_elements via macro now contain all elements in the
    • Check corrections now uses twiss_elements for the model.
  • Fixed:
    • check_corrections does not error when different markers in the model and the measurement.
  • Added:
    • Bad BPMs summary: NANS reason.

What's Changed

  • SbS Propagable Refactor by @JoschD in https://github.com/pylhc/omc3/pull/490
  • Bad BPMs Summary: NaNs by @JoschD in https://github.com/pylhc/omc3/pull/497
  • Twiss Elements: Select ALL by @JoschD in https://github.com/pylhc/omc3/pull/492

Full Changelog: https://github.com/pylhc/omc3/compare/0.23.0...0.23.1

- Python
Published by jgray-19 11 months ago

omc3 - Release 0.23.0

This is a minor release adding model creation for the SPS.

Added: - SPS model creation (Nominal, Segment and Correction).

What's Changed

  • SPS Model Creation by @JoschD in https://github.com/pylhc/omc3/pull/489

Full Changelog: https://github.com/pylhc/omc3/compare/0.22.1...0.23.0

- Python
Published by JoschD 12 months ago

omc3 - Release 0.22.1

Quick patch release to fix a bug in the list-options for LHC best knowledge model creation that has snug in with 0.22.0.

  • Fixed:
    • Error in list b2 error choices for lhc best knowledge models.

What's Changed

  • Fix LHC BestKnowledge Model fetcher by @JoschD in https://github.com/pylhc/omc3/pull/487
  • Add qt5 binding depencendy by @fsoubelet in https://github.com/pylhc/omc3/pull/485

Full Changelog: https://github.com/pylhc/omc3/compare/0.22.0...0.22.1

- Python
Published by JoschD 12 months ago

omc3 - Release 0.22.0

In this minor release, the Segment-by-Segment functionality is implemented, together with some minor other changes and an internal rework of the model creation, separating MAD-X from the accelerator classes.

  • Added:

    • Segment-by-Segment with phase-propagation.
    • Listing of entry-points on calling python -m omc3, python -m omc3.scripts and python -m omc3.plotting.
    • Measurement from model faker now also adds alpha (ALF) columns to the beta-output files.
  • Updated:

    • MAD-X binaries to version 5.09.00.

- Python
Published by JoschD 12 months ago

omc3 - Release 0.21.1

This is a patch release to fix some issues with the k-modulation importer.

  • Fixed:
    • Correct function call in omc3.kmod_importer when running as script.
    • Fixed k-mod import for single-IP imports.

What's Changed

  • K-Modulation Importer: fixed main function call by @fscarlier in https://github.com/pylhc/omc3/pull/482

Full Changelog: https://github.com/pylhc/omc3/compare/0.21.0...0.21.1

- Python
Published by JoschD 12 months ago

omc3 - Release 0.21.0

This is a minor release, with the following fixes and addtions:

  • Fixed:

    • Plot Optics Measurements: Added extra mpl style for clearer plots.
    • LHC exciter BPM not found: Tells you which BPMs were searched for.
    • Plot Spectrum: Correct error handling for Single-Plane BPMs.
  • Added:

    • A generic accelerator class, that can be used for non-specifc accelerators.
    • Global Correction: Total arc phase correction (arc-by-arc).
    • Cleaning: Filter BPMs with NaNs.
    • Cleaning: Log bad BPMs with reasons before raising errors.
    • MAD-X wrapper: Inform about failed twiss.

What's Changed

  • Update RDT tests by @jgray-19 in https://github.com/pylhc/omc3/pull/478
  • Arc corr and glob check fix by @fscarlier in https://github.com/pylhc/omc3/pull/437

Full Changelog: https://github.com/pylhc/omc3/compare/0.20.4...0.21.0

- Python
Published by JoschD about 1 year ago

omc3 - Release 0.20.4

A patch release, some of the accelerator datetime behaviour on latest Python.

  • Fixed:

    • Solved an issue in datetime operations occuring on Python 3.13.
  • Changed:

    • Dropped support for Python 3.9.

What's Changed

  • Fix datetime errors in latest Python by @fsoubelet in https://github.com/pylhc/omc3/pull/479

Full Changelog: https://github.com/pylhc/omc3/compare/0.20.3...0.20.4

- Python
Published by fsoubelet about 1 year ago

omc3 - Release 0.20.3

patch release, fixing some minor issues with the selection of optics analysis files with different dpp. See #477 .

Fixed: - analyse_dpp issues in beta_from_amplitude, chromatic_beating and dispersion. Skips dispersion calculation if NaNs are present.

What's Changed

  • DPP Fixes by @JoschD in https://github.com/pylhc/omc3/pull/476

Full Changelog: https://github.com/pylhc/omc3/compare/0.20.2...0.20.3

- Python
Published by JoschD about 1 year ago

omc3 - Release 0.20.2

patch release, showing the reasons in the output of the bad_bpms_summary script.

  • Added:
    • bad_bpms_summary: Also collect the reasons for the BPMs being bad.

What's Changed

  • Add bad bpms reasons by @JoschD in https://github.com/pylhc/omc3/pull/472

Full Changelog: https://github.com/pylhc/omc3/compare/0.20.1...0.20.2

- Python
Published by JoschD over 1 year ago

omc3 - Release 0.20.1

patch release, fixing the K-Modulation importer for data with more elements.

  • Fixed:
    • kmod_import fixed issue with too harsh filtering of BPM data.

What's Changed

  • Fix K-Mod importer by @JoschD in https://github.com/pylhc/omc3/pull/471

Full Changelog: https://github.com/pylhc/omc3/compare/0.20.0...0.20.1

- Python
Published by JoschD over 1 year ago

omc3 - Release 0.20.0

A minor release, adding a script to collect and summarize bad BPMs output files from GUI output folders.

  • Added:
    • bad_bpms_summary script: Collect and summarize the bad BPMs from GUI runs.

What's Changed

  • add getbadbpms by @awegsche in https://github.com/pylhc/omc3/pull/427

Full Changelog: https://github.com/pylhc/omc3/compare/0.19.0...0.20.0

- Python
Published by JoschD over 1 year ago

omc3 - Release 0.19.0

This release is a minor release with new K-modulation import features added and the obsolete ones removed.

  • Added K-Modulation tools:

    • kmod_importer: Main function to call the following scripts in succession.
    • kmod_averages: Combine k-modulation results into a single file.
    • kmod_lumi_imbalance: Calculate the luminosity imbalance IP1 / IP5 from k-modulation results.
    • kmod_import: Import k-modulation results into an optics_measurements directory as beta_kmod_().tfs file.
  • Removed:

    • Old k-modulation scripts: Functionality is either in k-mod GUI or in newly added scripts.

What's Changed

  • Kmod scripts new branch by @fscarlier in https://github.com/pylhc/omc3/pull/463

Full Changelog: https://github.com/pylhc/omc3/compare/0.18.1...0.19.0

- Python
Published by JoschD over 1 year ago

omc3 - 0.18.1

This is a patch release, fixing a bug in the knob_extractor concerning the properties passed on to sparks.

Fixed: - Setting sparkprops wrong in knob_extractor fixed.

What's Changed

  • Knob extractor spark props by @JoschD in https://github.com/pylhc/omc3/pull/470

Full Changelog: https://github.com/pylhc/omc3/compare/0.18.0...0.18.1

- Python
Published by JoschD over 1 year ago

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.

What's Changed

  • Add Calculation of DPP in full response and global correction by @jgray-19 in https://github.com/pylhc/omc3/pull/466

New Contributors

  • @jgray-19 made their first contribution in https://github.com/pylhc/omc3/pull/466

Full Changelog: https://github.com/pylhc/omc3/compare/0.17.0...0.18.0

- Python
Published by jgray-19 over 1 year ago

omc3 - 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.
  • Fixed:

    • Uncompensated Phase calculations with Equation compensation are now actually uncompensated when passed on to the coupling module.

What's Changed

  • new parameter: analyse_dpp by @JoschD in https://github.com/pylhc/omc3/pull/461

Full Changelog: https://github.com/pylhc/omc3/compare/0.16.2...0.17.0

- Python
Published by JoschD over 1 year ago

omc3 - 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.

- Python
Published by JoschD over 1 year ago

omc3 - Release 0.16.1

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

  • Fix Various Warnings by @fsoubelet in https://github.com/pylhc/omc3/pull/460

Full Changelog: https://github.com/pylhc/omc3/compare/0.16.0...0.16.1

- Python
Published by fsoubelet over 1 year ago

omc3 - 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 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

  • Global Correction Fixes by @JoschD in https://github.com/pylhc/omc3/pull/458

Full Changelog: https://github.com/pylhc/omc3/compare/0.15.4...0.16.0

- Python
Published by JoschD over 1 year ago

omc3 - 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 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 https://github.com/pylhc/omc3/pull/455

Full Changelog: https://github.com/pylhc/omc3/compare/0.15.3...0.15.4

- Python
Published by JoschD over 1 year ago

omc3 - Release 0.15.3

This is a patch release with minor fixes:

Fixed: - Add DOROS BPMs to twiss.dat. - Some Pandas FutureWarnings, DeprecationWarnings and PerformanceWarnings

What's Changed

  • madx pattern for doros BPMs by @JoschD in https://github.com/pylhc/omc3/pull/445

Full Changelog: https://github.com/pylhc/omc3/compare/0.15.2...0.15.3

- Python
Published by JoschD over 1 year ago

omc3 - 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

  • Patch complexwarning by @JoschD in https://github.com/pylhc/omc3/pull/443

Full Changelog: https://github.com/pylhc/omc3/compare/0.15.1...0.15.2

- Python
Published by JoschD over 1 year ago

omc3 - 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 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 https://github.com/pylhc/omc3/pull/442

Full Changelog: https://github.com/pylhc/omc3/compare/0.15.0...0.15.1

- Python
Published by fsoubelet over 1 year ago

omc3 - 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 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

  • Use modifiers for knobs madx by @JoschD in https://github.com/pylhc/omc3/pull/441

Full Changelog: https://github.com/pylhc/omc3/compare/0.14.1...0.15.0

- Python
Published by JoschD over 1 year ago

omc3 - 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.

- Python
Published by fsoubelet over 1 year ago

omc3 - 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

  • Bugfix MQSORG knob naming in beam 2 by @JoschD in https://github.com/pylhc/omc3/pull/440

Full Changelog: https://github.com/pylhc/omc3/compare/0.14.0...0.14.1

- Python
Published by JoschD over 1 year ago

omc3 - 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.

What's Changed

  • Linfile cleaning keep bpms and limit-based cleaning by @JoschD in https://github.com/pylhc/omc3/pull/439

Full Changelog: https://github.com/pylhc/omc3/compare/0.13.1...0.14.0

- Python
Published by JoschD almost 2 years ago

omc3 - Release 0.13.1

Patch release with the following additions and fixes:

  • Added:

    • Knob Extractor: Lumiscan Knob
  • Fixed:

    • BBS converter: fixed closed orbit units
    • Optics: Pandas indexing error in DPP

What's Changed

  • Fix pandas indexing error by @Mael-Le-Garrec in https://github.com/pylhc/omc3/pull/434
  • Fix CO units issue in BBsrc converter by @fsoubelet in https://github.com/pylhc/omc3/pull/436
  • More knobs by @awegsche in https://github.com/pylhc/omc3/pull/405

Full Changelog: https://github.com/pylhc/omc3/compare/0.13.0...0.13.1

- Python
Published by JoschD almost 2 years ago

omc3 - Release 0.13.0

This is a minor release, functionality with .

  • Added:
    • The model creation has been modified to be compatible with the acc-models repositories. Backwards compatibility for the previous way of creating models (sequences and opticsfiles in AFS) is preserved.

What's Changed

  • Acc-Models Creation by @awegsche in https://github.com/pylhc/omc3/pull/432

Full Changelog: https://github.com/pylhc/omc3/compare/0.12.1...0.13.0

- Python
Published by fsoubelet about 2 years ago

omc3 - Release 0.12.1

This is a patch release, allowing the user to specify the output format of the tbt_converter in the case without noise (was always lhc, which is still the default, if not given).

  • Fixed:
    • tbt_converter now also passes given output format to writer when running without noise.

What's Changed

  • Fix tbt converter output flag by @JoschD in https://github.com/pylhc/omc3/pull/433

Full Changelog: https://github.com/pylhc/omc3/compare/0.12.0...0.12.1

- Python
Published by JoschD about 2 years ago

omc3 - Release 0.12.0

This is a minor release, adding input prameter to the harmonic analysis.

  • Added to harmonic analysis:
    • suffix input parameter: adds suffix to output files, which e.g. allows running the same file with different parameters without overwriting it.
    • bunch_ids input parameter: in case of multibunch-files only analyse these bunches. If not given, all bunches will be analysed, as before.

What's Changed

  • Extend Harpy naming capabilities by @JoschD in https://github.com/pylhc/omc3/pull/431

Full Changelog: https://github.com/pylhc/omc3/compare/0.11.4...0.12.0

- Python
Published by JoschD about 2 years ago

omc3 - Release 0.11.4

Release 0.11.4

This is a patch release addressing the following:

  • Fixed:
    • a bug in beta from phase (3BPM method) that calculated too high errors for first and last BPMs

- Python
Published by fsoubelet over 2 years ago

omc3 - Release 0.11.3

A patch release addressing the following:

  • Fixed:
    • compatibility with matplotlib 3.8
    • skipping important phase advances for HL-LHC (as not defined yet)
    • allowing responses with delta_k < 1e-6 for full-response creation

What's Changed

  • fixing plot_spectrum by @JoschD in https://github.com/pylhc/omc3/pull/429
  • Hl fixes by @awegsche in https://github.com/pylhc/omc3/pull/428

Full Changelog: https://github.com/pylhc/omc3/compare/0.11.2...0.11.3

- Python
Published by JoschD over 2 years ago

omc3 - Release 0.11.2

This is a patch release, which fixes/adds the following:

  • Fixed:

    • Plot Optics: making normalized dispersion plot a special case, as we only have the horizontal plane.
    • Minor code improvements to get rid of deprecation warnings, due to LaTeX strings.
  • Added:

    • Plot Optics: optional input --labels to manually set the legend-labels.

What's Changed

  • Adjust correction-knob json files for 2023 by @JoschD in https://github.com/pylhc/omc3/pull/425
  • Added raw strings and/or backslashes by @JoschD in https://github.com/pylhc/omc3/pull/423
  • Plot normalized dispersion by @JoschD in https://github.com/pylhc/omc3/pull/426

Full Changelog: https://github.com/pylhc/omc3/compare/0.11.1...0.11.2

- Python
Published by JoschD over 2 years ago

omc3 - Release 0.11.1

Patch release fixing minor bugs in various places of the package and adds a missing test.

Fixed: - OptionalString: 'None' as input is converted to None - Missing Kerberos config added to MANIFEST for packaging, fixes #420 . - Plot Optics plots now correct error-column, e.g. for beta-beating, fixes #418 . - Added warnings/errors for too few bpms in N-BPM/3-BPM methods, fixes #361 . - Added navbar to sphinx documentation, fixes last point in #407 .

Tests: - Added test for the classes in omc3.plotting.utils.windows

What's Changed

  • Minor bugfixes june 2023 by @JoschD in https://github.com/pylhc/omc3/pull/421
  • Missing Plotting Windows Tests by @JoschD in https://github.com/pylhc/omc3/pull/422

Full Changelog: https://github.com/pylhc/omc3/compare/0.11.0...0.11.1

- Python
Published by JoschD over 2 years ago

omc3 - Release 0.11.0

New matplotlib windows with tabs added in 0.11.0.

  • Added:
    • omc3.plotting.utils.windows: Qt-based windows and widgets for matplotlib-figure organization.
    • Using the new windows in omc3.plotting.plot_checked_corrections and omc3.plotting.plot_tfs

What's Changed

  • Fix adt key error by @awegsche in https://github.com/pylhc/omc3/pull/415
  • Workflows and doc fixes by @fsoubelet in https://github.com/pylhc/omc3/pull/417
  • Plotting Windows by @JoschD in https://github.com/pylhc/omc3/pull/416

Full Changelog: https://github.com/pylhc/omc3/compare/0.10.0...0.11.0

- Python
Published by JoschD over 2 years ago

omc3 - Release 0.10.0

New features added in 0.10.0 to test the effectiveness of calculated corrections.

  • Added:

    • omc3.check_corrections: A new feature to check the validity of corrections.
    • omc3.plotting.plot_checked_corrections: Function to plot the checked corrections.
    • Unified optics-columns naming in omc3.definitions.optics (but not yet propagated through the code)
    • Function to calculate RMS in omc3.utils.stats.rms.
  • Fixed:

    • Some minor bugs with fake datatypes
    • Doc of ArrayType typehints

What's Changed

  • Check Corrections by @JoschD in https://github.com/pylhc/omc3/pull/413 Full Changelog: https://github.com/pylhc/omc3/compare/0.9.0...0.10.0

- Python
Published by JoschD almost 3 years ago

omc3 - Release 0.9.0

New small features have been added: - RBAC token provider in omc3.utils.rbac - pylogbook wrapper in omc3.scripts.createlogbookentry

- Python
Published by JoschD almost 3 years ago

omc3 - Release 0.8.0

In this release we fixed matplotlib to version 3.7.0 or higher to be compatible with pandas version 2.0.0 or higher, which is also fixed. Compatibility with tfs-pandas for this pandas version is ensured not by fixing the version, but by removing join and append functions from the code and instead using the concat method. Nonetheless, it is recommenteded, to use tfs-pandas version 3.6.0.

Fix: - Changed all pandas/tfs-pandas append() and join() to concat() - Moved InputFiles into separate module

- Python
Published by JoschD almost 3 years ago

omc3 - Release 0.7.2

Patchfix: - Added missing columns to coupling in BBS-OMC3 converter

What's Changed

  • bbs converter coupling fix by @JoschD in https://github.com/pylhc/omc3/pull/410

Full Changelog: https://github.com/pylhc/omc3/compare/0.7.1...0.7.2

- Python
Published by JoschD almost 3 years ago

omc3 - Release 0.7.1

Patchfix for second order amplitude detuning

  • Added:

    • Amplitude Detuning plots: Switch to plot only with/without BBQ correction
  • Fix:

    • Second Order Amplitude Detuning fit now working
    • Correct print/calculation of second order direct terms for forced kicks in plot-labels.
    • Fix of polyfit test for new numpy versions

What's Changed

  • Amplitude Detuning: Proper handling of second order fits by @JoschD in https://github.com/pylhc/omc3/pull/408 Full Changelog: https://github.com/pylhc/omc3/compare/0.7.0...0.7.1

- Python
Published by JoschD about 3 years ago

omc3 - Release 0.7.0

Release 0.7.0 adds additional errors on the Amplitude Detuning calculations, improving the fit for low action kicks, which dominated the fit in the past.

Changes: - Tune error based on deviation of filtered BBQ data to the moving average (over moving average window) - Action error calculated from error on the spectral line (which in turn is the same as NOISE)

What's Changed

  • Error calculation action and bbq by @JoschD in https://github.com/pylhc/omc3/pull/381

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.6...0.7.0

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.6.6

Bugfixes - global correction: fullresponse is converted to Path. - fake measurement from model: don't randomize errors and values by default. Debug output (to see that stuck in infinite loop) - global correction: check if all needed weights are zero and raise error if so - lhc.py: skip modifiers if None (in madx-script creation)

What's Changed

  • Minor fixes in fake measurement, full response and corrections by @JoschD in https://github.com/pylhc/omc3/pull/404

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.5...0.6.6

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.6.5

What's Changed

  • Added IP2 and IP8 to knob-extraction
  • Fixed StateTracker State in knob-extraction by @JoschD in https://github.com/pylhc/omc3/pull/400

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.4...0.6.5

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.6.4

Release 0.6.4 is a patch release that fixes filtering of phases in coupling calculation.

What's Changed

  • [Bugfix] fix phase filtering by @awegsche in https://github.com/pylhc/omc3/pull/403

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.3...0.6.4

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.6.3

What's Changed

  • Knob extractor pandafied by @JoschD in https://github.com/pylhc/omc3/pull/399

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.2...0.6.3

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.6.2

Release 0.6.2 is a patch release that fixes the logging in omc3.knob_extractor.

What's Changed

  • cleaned logging by @awegsche in https://github.com/pylhc/omc3/pull/398

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.1...0.6.2

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.6.1

Release 0.6.1 is a patch release, allowing to give the tbt-converter an output_datatype (requires turn-by-turn >= 0.4.0).

What's Changed

  • Added tbt output datatype by @JoschD in https://github.com/pylhc/omc3/pull/396

Full Changelog: https://github.com/pylhc/omc3/compare/0.6.0...0.6.1

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.6.0

Release 0.6.0 is a feature release:

- Added: - The knob_extractor script to get LHC knob values from NXCALS at a given time, most useful for model creation.

What's Changed

  • Knob extractor by @JoschD in https://github.com/pylhc/omc3/pull/394

Full Changelog: https://github.com/pylhc/omc3/compare/0.5.2...0.6.0

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.5.2

Release 0.5.2 is a patch release for

Bugfix: - Correction Dataframe initialized as float (before as int)

Added: - Plotting: Transposed legend order - Plotting: Create markers from any text

What's Changed

  • CI Updates by @fsoubelet in https://github.com/pylhc/omc3/pull/391
  • Initialize dataframe with float instead of int by @JoschD in https://github.com/pylhc/omc3/pull/392
  • Plotting transposed legend and marker by @JoschD in https://github.com/pylhc/omc3/pull/393

Full Changelog: https://github.com/pylhc/omc3/compare/0.5.1...0.5.2

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.5.1

Release 0.5.1 is a compatibility patch for turn_by_turn >= 0.4.0.

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.5.0

Release 0.5.0 is a feature release:

- Added: - The order of the resonance lines to be sought and detected during the frequency analysis can now be set by the user, with the resonances argument / flag of harpy. - The order of RDTs components to be calculated can now be set by the user, with the rdt_magnet_order argument / flag of optics. Note that the relevant resonance lines for this order should have been detected and processed by harpy beforehand.

What's Changed

  • Higher RDT multipole order calculation by @Mael-Le-Garrec in https://github.com/pylhc/omc3/pull/385

Full Changelog: https://github.com/pylhc/omc3/compare/0.4.1...0.5.0

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.4.1

Release 0.4.1 is a patch release.

- Fixed: - The LHC model_creator now uses the correct macros and knobs for Run 3 optics. - Better handling of BBQ data fetching edge-cases, with a better KeyError message for exciter-BPM not found.

What's Changed

  • Fix errors for bbqdatafound and exciterbpms by @JoschD in https://github.com/pylhc/omc3/pull/382
  • LHC macros call fix by @fsoubelet in https://github.com/pylhc/omc3/pull/384

Full Changelog: https://github.com/pylhc/omc3/compare/0.4.0...0.4.1

- Python
Published by fsoubelet over 3 years ago

omc3 - Release 0.4.0

Release 0.4.0 is a feature release:

  • Added:

    • 2D amplitude detuning analysis and 3D plotting of the results
    • Converter for amp.det. analysis from bbs to omc3
    • general typehinting/doc/unification of entrypoint parameters/saving
  • Fixed:

    • Switched action-tune planes in ampdet-kick file header-names
    • Deprecated way of pandas indexing (.loc for nearest points)
    • Allow different sized kick-files for amp.det. analysis

All changes: https://github.com/pylhc/omc3/compare/0.3.0...0.4.0

- Python
Published by JoschD over 3 years ago

omc3 - Release 0.3.0

Release 0.3.0 comes with a new script.

  • Added:
    • The omc3.scripts.linfile_clean script, which allows one to perform cleaning of TFS linfiles output by harpy, and potentially reverting the changes.

What's Changed

  • Quick clean by @JoschD in https://github.com/pylhc/omc3/pull/376

Full Changelog: https://github.com/pylhc/omc3/compare/0.2.7...0.3.0

- Python
Published by fsoubelet almost 4 years ago

omc3 - Release 0.2.7

Release 0.2.7 is an addition but will count as a patch release since it is here to fix some issues for the coupling server.

  • Added:
    • There is now an option, coupling_pairing, for the BPM pairing in coupling calculation, to let the user choose the number of BPMs instead of the usual "best candidate" method.

What's Changed

  • add coupling pairing option by @awegsche and @fsoubelet in https://github.com/pylhc/omc3/pull/371

Full Changelog: https://github.com/pylhc/omc3/compare/0.2.6...0.2.7

- Python
Published by fsoubelet almost 4 years ago

omc3 - Release 0.2.6

Release 0.2.6 is a patch release.

  • Fixed:
    • Only perform index merging on the NAME column during coupling calculation. This solves an (at the moment) un-understood issue where some BPMs would have different S values in different files.

What's Changed

  • remove S intersection while merging in coupling by @awegsche in https://github.com/pylhc/omc3/pull/368

Full Changelog: https://github.com/pylhc/omc3/compare/0.2.5...0.2.6

- Python
Published by fsoubelet almost 4 years ago

omc3 - Release 0.2.5

Release 0.2.5 is a patch release.

Fixed: - An additionnal knob and macros definition file has been added to reflect the knobs used by OP in the LHC Run 3. This makes sure any omc3.model_creator run for the LHC with year >= 2022 has correct knobs.

Full Changelog Since 0.2.4: https://github.com/pylhc/omc3/compare/0.2.4...0.2.5

- Python
Published by fsoubelet almost 4 years ago

omc3 - Release 0.2.4

Release 0.2.4 is a patch release.

In this patch, the jpype1 package is not a default dependency anymore, and is instead included as a dependency in the cern and test extras. Its import is mocked where needed in omc3.

- Python
Published by fsoubelet almost 4 years ago

omc3 - Release 0.2.3

Release 0.2.3 is a patch release:

  • Fixed:
    • The coupling calculation now includes additional columns in the output dataframes, which were missing while being needed later on by the correction calculation.

- Python
Published by fsoubelet about 4 years ago

omc3 - Release 0.2.2

Release 0.2.2 is a patch release.

  • Fixed:
    • Sequences for K-Modulation are now properly included in the files package when installing from PyPI.
    • Default errors in K-Modulation are now properly taken into account

- Python
Published by fsoubelet about 4 years ago

omc3 - Release 0.2.1

This is a dummy release for Zenodo to pick up the .zenodo.json configuration file and create a DOI for the package.

No functionality has changed since omc3 v0.2.0.

- Python
Published by fsoubelet over 4 years ago

omc3 - First Release - omc3 v0.2.0

This is the first published release of omc3 to Github and PyPI! Find the documentation at https://pylhc.github.io/omc3/

Please note that since the codes have been used before this release, and to keep things consistent with the logging of algorithms versions, the version number is 0.2.0.

Version 0.2.0 comes with the following functionality out of the box:

Main Functionality: - Optics models creation for various accelerators (omc3.model_creator module) - Frequency and optics analysis from turn by turn BPM data (omc3.hole_in_one module) - Full response files creation for futher correction of a given accelerator (omc3.response_creator module) - Global corrections calculation for a given accelerator (omc3.global_correction module) - K-Modulation analysis returning optics functions (omc3.run_kmod module) - Amplitude detuning analysis with tune correction (omc3.amplitude_detuning_analysis module) - BPM turn by turn files convertion to SDDS data format with noise, averaging and mode (omc3.tbt_converter module ) - MAD-X scripts and commands wrapping (omc3.madx_wrapper module)

Utility Scripts: - Merging K-Modulation results of different IPs into a single file, with luminosity imbalance (omc3.scripts.merge_kmod_results module) - Creating a fake measurement file from an optics model's TWISS output (omc3.scripts.fake_measurement_from_model module) - MAD-X tracking macros generation with observation points from a twiss file (omc3.scripts.write_madx_macros module) - Conversion of old BetaBeat.src analysis results to the new codes' format (omc3.scripts.betabeatsrc_output_converter module) - Natural tune columns updating in .lin* files from peak detection (omc3.scripts.update_nattune_in_linfile module)

Plotting Functionality: - General purpose TFS files plotting (omc3.plotting.plot_tfs module) - Optics measurements plotting (omc3.plotting.plot_optics_measurements module) - Amplitude detuning analysis plotting (omc3.plotting.plot_amplitude_detuning module) - Spectrum plotting (omc3.plotting.plot_spectrum module) - LHC BBQ analysis plotting (omc3.plotting.plot_bbq module)

We welcome feedback from our users.

- Python
Published by fsoubelet over 4 years ago