Published October 19, 2021
| Version 0.15.0
Software
Open
fsoubelet/PyhDToolkit: Release 0.15.0
Description
Release 0.15.0 brings the following changes.
Changed:
- The
CORRECTOR_LIMITSdict of dict in thecpymadtools.constantsmodule has been changed to a simple dictionary and renamedHLLHC_CORRECTOR_LIMITSas it only contained HighLumi values. - Exceptions are properly logged as exceptions, with stack information.
Added:
- The
LatticePlotter.plot_latwissfunction in thecpymadtools.plottersmodule can now plot the k1 gradient of dipoles that have one, if asked to, which will appear with a lower alpha than regular quadrupoles. A new boolean parameterplot_dipole_k1is used for this. - Type hints have been added to all elements of the
cpymadtools.constantsmodule. - Several new constants have been introduced in the
cpymadtools.constantsmodule:- Supplementing the
DEFAULT_TWISS_COLUMNSlist, a similar but slightly different one,MONITOR_TWISS_COLUMNS, has been added with elements present in OMC macros. - Constants lists for LHC IP bump flags have been added:
LHC_CROSSING_ANGLE_FLAGS,LHC_PARALLEL_SEPARATION_FLAGS,LHC_IP_OFFSET_FLAGS,LHC_ANGLE_FLAGS,LHC_EXPERIMENT_STATE_FLAGSandLHC_IP2_SPECIAL_FLAG. - Constants lists for LHC triplets corrector knobs have been added:
LHC_KQSX_KNOBS,LHC_KCSX_KNOBS,LHC_KCSSX_KNOBS,LHC_KCOX_KNOBS,LHC_KCOSX_KNOBS,LHC_KCTX_KNOBSwith their signification in comments. - Constants lists for LHC arc corrector knobs have been added:
LHC_KQTF_KNOBS,LHC_KQS_KNOBS,LHC_KSF_KNOBS,LHC_KSS_KNOBS,LHC_KCS_KNOBS,LHC_KCO_KNOBS,LHC_KCD_KNOBS,LHC_KO_KNOBSwith their signification in comments.
- Supplementing the
- A new module,
cpymadtools.correctors, has been added with currently functionality to query LHC triplet and arc corrector powering status (relatively to their max powering). - A new function,
reset_bump_flagsin thecpymadtools.specialmodule which will reset all LHC IP bump flags to 0.
Deprecated:
- The entire
cpymadtools.specialmodule is deprecated. Its contents are mirrored in a newcpymadtools.lhcmodule, which will be reorganised in a next release. Users are encouraged to use the new module, ascpymadtools.specialwill be removed entirely oncePyhDToolkitreaches version1.0.
Files
fsoubelet/PyhDToolkit-0.15.0.zip
Files
(11.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:9542453a7613d3b0fa5708f39423108f
|
11.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/fsoubelet/PyhDToolkit/tree/0.15.0 (URL)