Recent Releases of pylhc
pylhc - 0.8.1
This patch release has some backend changes, by changing to common workflows and pyproject.toml.
It also fixes some bugs with the kickgroup extractions:
- add FILL and JSON_FILE to output table of kickgroup summary
- catch empty kickgroups gracefully
- adapt for moving the
.sddsand.jsonfiles to backup folders onnfs - addtional checks/warning/dict-keys for old versions of the
.jsonfiles
What's Changed
- Migrate to pyproject.toml and common workflows by @fsoubelet in https://github.com/pylhc/PyLHC/pull/107
- Kickgroup Improvements by @JoschD in https://github.com/pylhc/PyLHC/pull/108
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.8.0...0.8.1
- Python
Published by JoschD 9 months ago
pylhc - Release 0.8.0
The minor version release 0.8.0 brings the following changes:
Fixed:
- replaced get_loc with get_indexer to be compatible with pandas > 2.0
- replaced append with concat to be compatible with pandas > 2.0
Added:
- beamprocess option to Machine Settings Info, to allow manual override.
Removed:
- hdf5 reader/writer for tfs as this is already in tfs-pandas
- Python
Published by JoschD almost 3 years ago
pylhc - Release 0.7.4
Path release 0.7.4:
Changes in Machine Settings Info
- Default behaviour for no knobs given(no --knobs or knobs=None): extract None.
- Old behaviour of extracting all restored by giving knobs = ["all"] (CLI: --knobs all)
- Option ["default"] available for default knobs as used in OMC3. (CLI: --knobs default)
- Additional debug logging
What's Changed
- Machine settings debug logging and knobs by @JoschD in https://github.com/pylhc/PyLHC/pull/105
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.7.3...0.7.4
- Python
Published by JoschD over 3 years ago
pylhc - Release 0.7.3
Release 0.7.3 is a patch release which fixes:
- LSA to MADX sign convention
- Better trim naming
- check madx names for allowed characters
- option to init all variables
- machine settings info takes ISO time
What's Changed
- CI Updates by @fsoubelet in https://github.com/pylhc/PyLHC/pull/103
- Fix lsa to madx writer by @JoschD in https://github.com/pylhc/PyLHC/pull/104
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.7.2...0.7.3
- Python
Published by JoschD over 3 years ago
pylhc - Release 0.7.2
Release 0.7.2 brings a fix to the lsa_to_madx module, ensuring it does not make the user run into a MAD-X bug later on when using the created knobs.
Fixed:
- Trim variables generated in the MAD-X script will make sure not to be longer than 47 characters (hard MAD-X limit), nor start with an underscore or a digit.
What's Changed
- Fix: MAD-X Variable Name Length Limit by @fsoubelet in https://github.com/pylhc/PyLHC/pull/102
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.7.1...0.7.2
- Python
Published by fsoubelet over 3 years ago
pylhc - Release 0.7.1
Release 0.7.1 brings a fix to the lsa_to_madx module.
Fixed:
- Will not attempt to write to disk knobs that were not found by LSA in the provided optics.
What's Changed
- Fix: Do not attempt to write when knob isn't found in LSA optics by @fsoubelet in https://github.com/pylhc/PyLHC/pull/101
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.7.0...0.7.1
- Python
Published by fsoubelet almost 4 years ago
pylhc - Release 0.7.0
Release 0.7.0 contains the following changes:
Added:
- Added a new module, pylhc.lsa_to_madx, with functionality to parse LSA knobs from the command line or a text file, retrieve relevant information from LSA and create MAD-X files with the commands necessary to reproduce these knobs in simulations. This is of particular use when trying to reproduce a specific machine configuration in simulations.
What's Changed
LSAknob toMAD-Xscript converter by @fsoubelet in https://github.com/pylhc/PyLHC/pull/100
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.6.2...0.7.0
- Python
Published by fsoubelet almost 4 years ago
pylhc - Release 0.6.2
Release 0.6.2 adds a flag to the info functionality of pylhc.kickgroups to display a copy-pastable list of kick files once can use in the GUI to load them all at once.
What's Changed
- Kickgroups file list by @JoschD and @fsoubelet in https://github.com/pylhc/PyLHC/pull/99
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.6.1...0.6.2
- Python
Published by fsoubelet almost 4 years ago
pylhc - Release 0.6.1
Release 0.6.1 brings a fix to the kickgroups module.
Fixed:
- Correctly detect the plane of the excitationSettings being read.
- Better handling of kickgroups with no kickfiles.
Changed:
- The command-line commands have been renamed to list and info.
What's Changed
- fix by @JoschD in https://github.com/pylhc/PyLHC/pull/98
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.6.0...0.6.1
- Python
Published by fsoubelet almost 4 years ago
pylhc - Release 0.6.0
Release 0.6.0 contains the following changes:
Added:
- Added a new module, pylhc.kickgroups, with functionality to query available kickgroup files from a location, retrieve information of a given kickgroup, and retrieve relevant information for all kicks in a kickgroup. It can be called as a script (python -m pylhc.kickgroups) to printout copy-pastable information to put in the OMC logbook.
What's Changed
- Added KickGroup Infos by @JoschD and @fsoubelet in https://github.com/pylhc/PyLHC/pull/97
Full Changelog: https://github.com/pylhc/PyLHC/compare/v0.5.0...0.6.0
- Python
Published by fsoubelet almost 4 years ago
pylhc - Release v0.5.0
What's Changed
- Cron workflow fix by @fsoubelet in https://github.com/pylhc/PyLHC/pull/95
- Removed IRNL RDT Correction by @JoschD in https://github.com/pylhc/PyLHC/pull/96 which can now be found as its own package in https://github.com/pylhc/irnlrdtcorrection
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.4.2...v0.5.0
- Python
Published by JoschD almost 4 years ago
pylhc - Release 0.4.2
Minor bugfixes in machine_settings_info.
Fixed:
- The knob finding function needed some fixes after updates in pjlsa.
- Python
Published by fsoubelet almost 4 years ago
pylhc - Version 0.4.1
Minor bugfixes in machine_settings_info.
Added:
timeandstart_timecan now be given asAccDatetime-objects.
Fixed:
trimsvariable is initialized asNone. Was not initialized if no trims were found, but used later on.
- Python
Published by JoschD about 4 years ago
pylhc - Release 0.4.0
What's Changed
- Add Zenodo DOI to README by @fsoubelet in https://github.com/pylhc/PyLHC/pull/89
- Adds check for non-existing knobs by @JoschD in https://github.com/pylhc/PyLHC/pull/90
- Update CI by @fsoubelet in https://github.com/pylhc/PyLHC/pull/91
- Lsa with timerange by @JoschD in https://github.com/pylhc/PyLHC/pull/92
Release 0.4.0 brings the trim-history option to the machine-info extractor.
To enable this, one needs to provide a start_time.
The return values are now organized into a dictionary.
Full Changelog: https://github.com/pylhc/PyLHC/compare/0.3.0...v0.4.0
- Python
Published by JoschD about 4 years ago
pylhc - Release 0.3.0
Release 0.3.0 brings the following:
Added: - Non-linear correction script for the (HL)LHC Insertion Regions Resonance Driving Terms, including feed-down effects.
Changed:
- The package's license has been moved from GPLv3 to MIT.
Note: if one wishes to extend the IRNL correction script to a different accelerator, there are valuable pointers in the following PR comment.
- Python
Published by fsoubelet over 4 years ago
pylhc - Release 0.2.0
This is the first release of pylhc since its omc3 dependency is available on PyPI.
Added:
- BPM calibration script to get calibration factors from different BPMs
- Proper mocking of CERN TN packages (functionality imported from omc3)
Changed:
- Minimum required tfs-pandas version is now 3.0.2
- Minimum required generic-parser version is now 1.0.8
- Minimum required omc3 version is now 0.2.0
- Extras related to the CERN TN are now installed with python -m pip install pylhc[cern]
Removed:
- The HTCondor and AutoSix functionality have been removed and extracted to another package at https://github.com/pylhc/submitter
- Python
Published by fsoubelet over 4 years ago
pylhc - Release 0.1.0
Added:
- Job submitter script to easily generate and schedule jobs through HTCondor.
- Autosix script to easily generate and submit parametric SixDesk studies through HTCondor.
- Script to analyse forced dynamic aperture data.
- Scripts for logging and analysis of LHC BSRT data.
- Utility modules supporting functionality for the above scripts.
Changed:
- License moved to GNU GPLv3 to comply with the use of the
omc3package.
- License moved to GNU GPLv3 to comply with the use of the
Miscellaneous:
- Introduced extra dependencies tailored to different use cases of the package.
- Reworked package organisation for consistency.
- Set minimum requirements versions.
- Moved CI/CD setup to Github Actions.
- Improved testing and test coverage.
- Python
Published by fsoubelet about 5 years ago