0.17.0
Enhancements
The
pyhdtoolkit.cpymadtools.matchingmodule has two new wrapper functions,match_tunesandmatch_chromaticities, to perform matching on either tunes or chromaticities only.The
pyhdtoolkit.cpymadtools.lhcmodule has a new utility function,get_magnets_powering, to get the percentage of magnets’ max powering used in a given configuration.The
pyhdtoolkit.cpymadtools.utilsmodule has a new function,export_madx_table, to conveniently export an internal table to disk with proper regex filtering in a way that can be read byMAD-Xlater on.The
pyhdtoolkit.cpymadtools.constantsmodule now includes a regex for the(HL)LHCtriplets. Beware thatMAD-Xitself does not understand all regex features.
Bug Fixes
The
get_pattern_twissfunction now properly handles being given specific columns.
Maintenance
The deprecated
pyhdtoolkit.cpymadtools.lhc.match_no_coupling_through_ripkensfunction has been removed, its replacement in thepyhdtoolkit.cpymadtools.couplingmodule should be used.The deprecated
pyhdtoolkit.cpymadtools.lhc._get_k_stringsfunction has been removed, its replacement in thepyhdtoolkit.cpymadtools.utilsmodule should be used.The deprecated
pyhdtoolkit.cpymadtools.matching.get_closest_tune_approachfunction has been removed, its replacement in thepyhdtoolkit.cpymadtools.couplingmodule should be used.The deprecated
pyhdtoolkit.cpymadtools.matching.get_lhc_tune_and_chroma_knobsfunction has been removed, its replacement in thepyhdtoolkit.cpymadtools.lhcmodule should be used.The
pyhdtoolkit.cpymadtools.lhc._get_k_stringshelper function is now deprecated and has been moved topyhdtoolkit.cpymadtools.utils._get_k_strings.The internal imports in the package have been reworked, and sub-packages now only expose their modules through
__all__opposed to some modules’ contents previously.Some tests have been added.
See v0.17.0 release notes on GitHub and the full changes since v0.16.1.